Skip to content

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