[sdlsound] ALSA required?

Ryan C. Gordon icculus at clutteredmind.org
Sun Sep 1 23:15:07 EDT 2002

> Is libasound really required?

Build SDL without ALSA support.

  cd /where/i/downloaded/SDL12
  ./configure --disable-alsa

(Actually, there's several there you will need to disable, probably).

SDL_sound doesn't use ALSA (or any other sound playback API) directly,
since it goes through SDL. SDL_sound (the library) doesn't even playback
any sound directly...the "playsound" test application does.

Note that most, if not all, of the audio targets for SDL spin their own
thread for playback (MacOS 8/9 support doesn't, but it runs in a hardware
interrupt instead), so you'll probably need pthread support anyhow.


More information about the sdlsound mailing list