[SDL] ALSA/OSS linux audio driver priorities

Gerry JJ trick at icculus.org
Tue Aug 7 08:22:08 PDT 2007


Den Tue, 07 Aug 2007 17:14:46 +0200
skrev YuGiOhJCJ <yugiohjcj at free.fr>:
[..]
> You can see the line :
> --enable-alsa support the ALSA audio API [default=yes]
> So no problem with SDL and ALSA.

No, you misunderstand.  I'm talking about run-time driver priorities,
not what drivers are enabled in SDL.  SDL currently tries to use OSS
before it tries ALSA.  Ie, on a system with ALSA and OSS emulation
enabled (and no other sound drivers), setting SDL_AUDIODRIVER=dsp has
no effect, since it's the same as SDL's default behaviour in that case.

- Gerry


More information about the SDL mailing list