add SDLPlayer class

This commit is contained in:
doitux
2007-06-01 21:34:27 +00:00
parent 68a3abdc75
commit e5507dce60
4 changed files with 132 additions and 7 deletions
+1 -5
View File
@@ -2647,11 +2647,7 @@ void mainWindowImpl::playSound() {
have it just play once) */
Mix_PlayMusic(music, 0);
}
/* We want to know when our music has stopped playing so we
can free it up and set 'music' back to NULL. SDL_Mixer
provides us with a callback routine we can use to do
exactly that */
// Mix_HookMusicFinished(mainWindowImpl::musicDone());
}