SDL with PulseAudio support
Ioannis Vranos
cppdeveloper at ontelecoms.gr
Sun Mar 28 15:12:38 UTC 2010
On Sun, 2010-03-28 at 16:46 +0300, Marius Gedminas wrote:
> 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?
OS: Ubuntu 9.10 x64.
Two games for example:
OpenArena works only with libsdl1.2debian-pulseaudio or
libsdl1.2debian-all (with OpenAl disabled in the game sound settings).
Another such example is Urban Terror.
--
Ioannis Vranos
C95 / C++03 Software Developer
http://www.cpp-software.net
More information about the ubuntu-users
mailing list