Go to file
_ 68461866d8 🐛 bug: popping is gone
It was a combination of two bugs:

1. For some reason, libswresample sometimes returns more data than you need.
Like, it'll return X samples but _more than_ 8X bytes, for f32 stereo.

2. I wasn't supposed to be calling `flush`. I should have been calling
`run` with a dummy frame. This isn't intuitive to me, and it required
me to construct a dummy frame and keep it around in my code. I think
this is pretty inelegant. And looking at the ffmpeg code, I think it's
a flaw in the API design of the `ffmpeg_next` crate. I may ask them
about it in the future.
2021-11-13 11:23:10 -06:00
src 🐛 bug: popping is gone 2021-11-13 11:23:10 -06:00
.gitignore 👕 refactor: took apart the decoder and put it back together as an iterator 2021-11-13 10:31:58 -06:00
Cargo.lock still some bugs 2021-11-12 23:34:18 +00:00
Cargo.toml still some bugs 2021-11-12 23:34:18 +00:00
todo.md 🐛 bug: popping is gone 2021-11-13 11:23:10 -06:00