Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] What is the best audio system?
Date: Tue, 28 Feb 2012 05:20:21
Message-Id: CADPrc822w_11BwP8fSimKcMyCFK1AHzLWMkGFVyH-ZxD0OiDfg@mail.gmail.com
In Reply to: Re: [gentoo-user] What is the best audio system? by Frank Steinmetzger
1 On Mon, Feb 27, 2012 at 8:30 PM, Frank Steinmetzger <Warp_7@×××.de> wrote:
2 > On Mon, Feb 27, 2012 at 08:07:21PM -0600, Canek Peláez Valdés wrote:
3 >
4 >> >>> Isn't dmix pretty much automatic in als these days? I suspect that's
5 >> >>> how KDE supports multiple audio streams by default.
6 >> >>
7 >> >> Yep, I think it's automatic since alsa 1.0.9 or so.
8 >> >>
9 >> >
10 >> > Yeah, when you wrote dmix the light turned on about how KDE (and I
11 >> > suspect most desktop managers) is likely doing it.
12 >>
13 >> GNOME uses PulseAudio by default, and since 3.0 is actually mandatory.
14 >> I believe Xfce uses PA also, and (please, tell me if I'm wrong) KDE
15 >> also by default uses PA.
16 >
17 > KDE has the phonon layer, which features a PA useflag, but also a flag for
18 > gstreamer and vlc.
19 >
20 >> dmix *may* be able to handle multiple audio streams (in practice, in
21 >> my personal experience, it always requires more work than PA); but it
22 >> will never be able to do the other stuff PA handles.
23 >
24 > This seems like a dumb question (for I was a strict PA denier until recently
25 > and have been using alsa-only since always), but does PA handle OSS
26 > applications better than alsa/dmix?
27
28 I don't think I use any application that doesn't support PulseAudio,
29 GStreamer or ffmpeg. Both GStreamer and ffmpeg can use PulseAudio as
30 backend. Heck, even Xine-lib (which I haven't used in years) supports
31 PulseAudio.
32
33 That being said, PulseAudio runs on top of ALSA, so I don't see how
34 the first could handle OSS apps better than the second.
35
36 > Whenever I want to use sidplay, which only
37 > speaks OSS, I need to stop all other audio programs (e.g. press Stop in the
38 > Clementine player if it's only paused), or else /dev/dsp was busy.
39
40 With PulseAudio I haven't had none of these problems in ages. But
41 again, all my used apps support PA either directly or indirectly.
42
43 Regards.
44 --
45 Canek Peláez Valdés
46 Posgrado en Ciencia e Ingeniería de la Computación
47 Universidad Nacional Autónoma de México