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

[Bug]: AudioFormatReaderSource::getNextAudioBlock() incorrect when looping short files #1384

Open
1 task done
jcoalson opened this issue May 29, 2024 · 1 comment
Open
1 task done

Comments

@jcoalson
Copy link

Detailed steps on how to reproduce the bug

AudioFormatReaderSource::getNextAudioBlock() does not properly handle looping when the source file is shorter than the buffer.

The issue was described on the forum in 2016 and I wanted to raise it again here since I am running into it. The forum thread includes the patch to fix it.

What is the expected behaviour?

A short file should loop the same as a long one does.

Operating systems

Other

What versions of the operating systems?

All, independent of OS

Architectures

Other

Stacktrace

No response

Plug-in formats (if applicable)

No response

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

I have not tested against the develop branch

Code of Conduct

  • I agree to follow the Code of Conduct
@jcoalson
Copy link
Author

BTW I selected "The bug is present on the develop branch" when creating the issue.

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