Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompletely decoded data #2

Open
Jekahome opened this issue Jan 26, 2022 · 0 comments
Open

Incompletely decoded data #2

Jekahome opened this issue Jan 26, 2022 · 0 comments

Comments

@Jekahome
Copy link

Good afternoon.
I'm assuming you're cutting off samples too early here. After all, info.frame_bytes is read from the buffer input_buf about 365-366 bytes.
Thus, you cut off the sound without reading input_buf.len()-info.frame_bytes => BUFFER_SIZE=1024 - 365 = 659 bytes i.e. a couple more decoded samples you cut off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant