Closed erikjalevik closed 1 year ago
This is a known bug. It's because miniaudio uses stb_vorbis' push mode which doesn't have any easy to use seek function.
I've pushed a potential fix for this to the dev branch. It's horribly inefficient, but I think it should work.
I'm using
ma_sound_seek_to_pcm_frame
to jump to a specific frame in a playing sound. When testing with the same frame value on the same sound encoded in wav, flac, mp3, and ogg format, the first three seem to do the right thing, while the ogg jumps to a position roughly halfway to where it should be.Just wanted to check if this is a known issue before providing a detailed repro example?
Here's my debug output (but it doesn't seem to contain anything relevant to the seek):