uint32_t wpd_get_length_shim(void *id) { WavPackDecoder* d = (WavPackDecoder*)id; return d->getLength(); }