While reading the documentation for rodio I found symphonia and decided to redo from scratch using that rather than shelling out to FFMPEG. This implementation, however, still suffers from the same issue of inaccuracy as the previous one, leading me to think sample rate may still be an issue. Can you tell me what sample rate your test files are using?
Edit: I tested this with a file with 48kHz sample rate and the result was the same
Edit 2: no, the problem is with the audio files themselves. My bad
While reading the documentation for
rodio
I foundsymphonia
and decided to redo from scratch using that rather than shelling out to FFMPEG.This implementation, however, still suffers from the same issue of inaccuracy as the previous one, leading me to think sample rate may still be an issue. Can you tell me what sample rate your test files are using?Edit: I tested this with a file with 48kHz sample rate and the result was the sameEdit 2: no, the problem is with the audio files themselves. My bad