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

Freeze when playing back Kyrandia's soundtrack (Freeze at set_subsong) #24

Open
Dwedit opened this issue Sep 24, 2021 · 0 comments
Open

Comments

@Dwedit
Copy link

Dwedit commented Sep 24, 2021

I've been encountering freezes when playing back the Kyrandia soundtrack. I managed to get the code to build, ran Winamp under the debugger, and found it freezing at the SendMessage line.

void MyPlayer::set_subsong(int subsong)
{
  plr.subsong = subsong;

  SendMessage(*myWindow,WM_COMMAND,WINAMP_BUTTON2,0);
}

I made a one line change to from SendMessage to PostMessage and haven't seen a freeze since.

I also think the current subsong system is cumbersome to use compared with other players that automatically add subsongs to the Playlist.

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