Skip to content

Commit

Permalink
Sam Lantinga - Thu May 16 11:26:46 PDT 2002
Browse files Browse the repository at this point in the history
 * Cleaned up threading issues in the music playback code
  • Loading branch information
slouken committed May 16, 2002
1 parent 4a276f8 commit fd757da
Show file tree
Hide file tree
Showing 4 changed files with 350 additions and 360 deletions.
2 changes: 2 additions & 0 deletions CHANGES
@@ -1,5 +1,7 @@

1.2.4:
Sam Lantinga - Thu May 16 11:26:46 PDT 2002
* Cleaned up threading issues in the music playback code
Ryan Gordon - Thu May 2 21:08:48 PDT 2002
* Fixed deadlock introduced in the last release

Expand Down
4 changes: 3 additions & 1 deletion SDL_mixer.h
Expand Up @@ -141,7 +141,9 @@ extern DECLSPEC void SDLCALL Mix_SetPostMix(void (*mix_func)
extern DECLSPEC void SDLCALL Mix_HookMusic(void (*mix_func)
(void *udata, Uint8 *stream, int len), void *arg);

/* Add your own callback when the music has finished playing. */
/* Add your own callback when the music has finished playing.
This callback is only called if the music finishes naturally.
*/
extern DECLSPEC void SDLCALL Mix_HookMusicFinished(void (*music_finished)(void));

/* Get a pointer to the user data for the current music hook */
Expand Down

0 comments on commit fd757da

Please sign in to comment.