Skip to content
Permalink
Browse files

Sam Lantinga - Thu May 16 11:26:46 PDT 2002

 * Cleaned up threading issues in the music playback code
  • Loading branch information
slouken committed May 16, 2002
1 parent 4a276f8 commit fd757dac6a5fdf17c94a2ad0c4fc94991da22e14
Showing with 350 additions and 360 deletions.
  1. +2 −0 CHANGES
  2. +3 −1 SDL_mixer.h
  3. +320 −305 music.c
  4. +25 −54 wavestream.c
@@ -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

@@ -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 */

0 comments on commit fd757da

Please sign in to comment.