Lion
Lion
No luck, can't reproduce: ``` use minimp3::{Decoder, Error, Frame}; use std::fs::File; fn main() { let mut decoder = Decoder::new(File::open("afLb.mp3").unwrap()); loop { match decoder.next_frame() { Ok(Frame { data, sample_rate, channels, .....
>Btw, I have another issue, maybe this is related to this one? That`s expected, minimp3-rs have filled internal buffer, so when you consume data from stream to skip frames, filled...
I do not know, auto-rewind streams may be? Do you have minimal reproduction example?
I have no issues using WASM build too. May be it's filters code issue? I remember that working with filters is tricky with buffers retain. You can try execute your...
I think it's better keep decoder lib itself as simple as frame in->frame out. But example/application can address this problem.
Example can accept command line param, same as lame's `--decode-mp3delay x`. So user can be aware about this problem.
I think this solution is at least encoder dependent. If we want remove leading zeros - it's possible. If we want align output same as original input - we must...
https://github.com/aspt/diff_tools can be used to measure real delay.
Yes, this tool compares two audio files and can compute time shift using -align[int] option, [int] - max shift in samples, k/m can be used (-align128k for example).
I've checked lame 3.99.5, both VBR and CBR shows 2257 samples delay using other decoders, zero delay using `lame --decode` decoder, 1728 samples is I corrupt just first frame metadata,...