Skip to content

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

Open
wants to merge 3 commits into
base: vanilla
Choose a base branch
from

Conversation

OmniBlade
Copy link
Contributor

No description provided.

@hazelnot
Copy link

Just tested it, fixes #739

@giulianobelinassi
Copy link
Collaborator

In which circunstances, and in which game?

1 similar comment
@giulianobelinassi
Copy link
Collaborator

In which circunstances, and in which game?

@giulianobelinassi
Copy link
Collaborator

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 Is_Sample_Playing(void const *), so you may be reporting that the audio stop playing too late.


return val == AL_PLAYING;
if (val == AL_PLAYING) {
DBG_LOG("st->OpenALSource state AL_PLAYING, %d returning true.", index);
Copy link
Collaborator

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?

Copy link
Contributor Author

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.

@OmniBlade OmniBlade marked this pull request as ready for review June 5, 2022 19:10
With the buffering fixes, the intro was not detecting the end of the audio sample
that announces the chosen side correctly.
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

Successfully merging this pull request may close these issues.

3 participants