int32_t wpd_read_bytes_shim(void *id, void *data, int32_t bcount) { WavPackDecoder* d = (WavPackDecoder*)id; return d->readBytes(data, bcount); }