SDL with PulseAudio support

Marius Gedminas marius at pov.lt
Sun Mar 28 13:46:27 UTC 2010


On Sat, Mar 27, 2010 at 08:20:31PM +0200, Ioannis Vranos wrote:
> OS: Ubuntu 9.10 x64.
> 
> Ubuntu 9.10 comes with libsdl1.2debian-alsa installed by default, and
> not libsdl1.2debian-pulseaudio nor libsdl1.2debian-all.
> 
> This has an effect on some games. Why Ubuntu comes with
> libsdl1.2debian-alsa while it uses PulseAudio by default?

I don't know the answer to that question.  In theory, it should not
matter: in Ubuntu, ALSA is configured to play through PulseAudio by
default.  Lennart Pottering, the author of PulseAudio, recommended that
apps use the ALSA API (actually, a safe subset of it) by default:
http://0pointer.de/blog/projects/guide-to-sound-apis.html

This does cause issues for some games (e.g. the Allegro library uses
16-bit unsigned samples; the PulseAudio ALSA shim doesn't support
those).

Do you have any particular examples where libsdl1.2debian-pulseaudio
works better than libsdl1.2debian-alsa?

Marius Gedminas
-- 
When in trouble or in doubt,
run in circles, scream and shout.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100328/33faf679/attachment.sig>


More information about the ubuntu-users mailing list