wavestream.c
changeset 47 103ac6380537
parent 42 69145e9bda35
child 63 92b13db7d0a5
equal deleted inserted replaced
46:79514f34495f 47:103ac6380537
    55  */
    55  */
    56 int WAVStream_Init(SDL_AudioSpec *mixerfmt)
    56 int WAVStream_Init(SDL_AudioSpec *mixerfmt)
    57 {
    57 {
    58 	/* FIXME: clean up the mutex, or move it into music.c */
    58 	/* FIXME: clean up the mutex, or move it into music.c */
    59 	music_lock = SDL_CreateMutex();
    59 	music_lock = SDL_CreateMutex();
       
    60 #ifndef macintosh /* Hmm.. */
    60 	if ( music_lock == NULL ) {
    61 	if ( music_lock == NULL ) {
    61 		return(-1);
    62 		return(-1);
    62 	}
    63 	}
       
    64 #endif
    63 	mixer = *mixerfmt;
    65 	mixer = *mixerfmt;
    64 	return(0);
    66 	return(0);
    65 }
    67 }
    66 
    68 
    67 /* Unimplemented */
    69 /* Unimplemented */