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

This adjustment guarantees delay_frames will always be positive, preventing the assertion from triggering when the track is not playing. #13805

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SjxSubham
Copy link

In the EchoEffect::processChannel() function, when the track is not playing, a default value for delay_frames should be set to ensure it is greater than zero and to avoid assertion failure. You can set delay_frames to a minimal positive value like 1 to handle the case when the track is not playing.

This ensures that delay_frames is always set to a positive value, avoiding the assertion failure.

Hope this will work...
Issue #13799

…enting the assertion from triggering when the track is not playing.
@JoergAtGithub
Copy link
Member

This would only eliminate the symptom, but does not fix the cause. To eliminate the cause, you must first get an understanding of why these values occur.

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

Successfully merging this pull request may close these issues.

3 participants