[SDL] Mac OS X port of Tux Paint needed

Bill Kendrick nbs at sonic.net
Mon Nov 21 16:18:10 PST 2005

On Tue, Nov 01, 2005 at 12:10:44PM -0500, Timm Murray wrote:
>  ret = Mix_PlayChannel( -1, wav, -1 );
>  SDL_Delay( 50 );
>  Mix_FreeChunk( wav );
>  Mix_CloseAudio();
>  SDL_Quit();
>  return 0;

> However, nothing comes out of the speakers.  I hear the sound when using 
> wavplay, so sound works fine on my system.  This is on Linux w/ALSA, running 
> SDL 1.2.6 and SDL_mixer 1.2.6.

Uh, you don't give it much time (50ms) to play before quitting.
Maybe you should wait until it's done playing? :)

Of course, in case it does turn out to be some other issue, do other
SDL-based apps play sound properly?


More information about the SDL mailing list