-
Notifications
You must be signed in to change notification settings - Fork 58
Fixes music tracks changing unexpectedly in some circumstances. #748
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
base: vanilla
Are you sure you want to change the base?
Conversation
Just tested it, fixes #739 |
In which circunstances, and in which game? |
1 similar comment
In which circunstances, and in which game? |
This indeed fixes the issue @hazelnot mentioned. But on TD, it take ages to pass the Choose Side screen. The Choose Side screen keeps looping while the audio is on a "playing" state. It checks that by calling |
common/soundio_openal.cpp
Outdated
|
||
return val == AL_PLAYING; | ||
if (val == AL_PLAYING) { | ||
DBG_LOG("st->OpenALSource state AL_PLAYING, %d returning true.", index); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This floods the terminal with messages. Can we not log it very hard?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is draft for a reason :D I plan to strip the debug commit once I solve the choose screen issues.
With the buffering fixes, the intro was not detecting the end of the audio sample that announces the chosen side correctly.
No description provided.