On Sat, Apr 9, 2011 at 9:24 AM, Sander Jansen <s.jansen@xxxxxxxxx> wrote: > On Sat, Apr 9, 2011 at 8:47 AM, Matthew Monaco <dgbaley27@xxxxxxxxxxx> wrote: >> On 04/09/2011 04:46 AM, Mauro Santos wrote: >>> >>> On 09-04-2011 02:12, Oon-Ee Ng wrote: >>> >>>> PA buffers better than ALSA, or is supposed to, in any case. Of >>>> course, if you're using its ALSA-emulation that's a moot point. AFAICR >>>> (haven't had this problem for ages), CPU usage from PA is basically >>>> caused by the resampling, which you can just modify to a simpler >>>> method if you don't need the higher quality of the default (speex, I >>>> believe). >>> >>> I have been using the ffmpeg resample method because of that, it uses >>> less cpu, or seems to use less cpu here, and with my setup I cannot >>> detect any loss in quality, but hey, it is a laptop and the analog audio >>> path is not stellar so ymmv. >>> >> >> >> Hmm, I tried that, didn't seem to help. In fact it's super frustrating now >> because VLC is back to use ~16% CPU again no matter what resample method I >> use and what audio output option I choose. >> >> Also, does anyone know what is restarting pulseaudio after I --kill? Is it >> gnome-shell? > > I believe it uses dbus activation so it could be any pulseaudio client... > Actually, not sure if that's entirely true what I just said. Now '/etc/pulse/client.conf' does have a autospawn configuration option which might prevent it from restarting.