[mythtv-users] Mythfrontend and Pulseaudio

Terjesen Jens Peder Jens.Peder.Terjesen at devoteam.com
Wed Mar 14 13:45:57 UTC 2012


-----Original Message-----
On 14. mars 2012 1:07 Jean-Yves Avenard wrote:

Hi

On 14 March 2012 21:53, Terjesen Jens Peder <Jens.Peder.Terjesen at devoteam.com> wrote:
> Some times when scanning for devices in mythfrontend all four are listed, other times the DEV=3 is missing. The only one that works periodically is the DEV=3. I guess KDE (Phonon) is blocking this for use by the frontend.

DEV=3 is probably being in use eslewhere, and when you get into the audio settings, it will only show the device available at the time it scanned the devices..

hdmi devices by default aren't being muxed, so only one application at a time can open it.

If it is in use by pulse that's fine, myth will suspend pulse while scanning for audio devices, but if something else is using it: you're stuck

>
> If I activate Pulseaudio again I get reliably sound in mythfrontend but not in KDE.
>
> If I understand correctly 0.24 and upcoming 0.25 should support Pulseaudio without any downside?

it does..
I suggest though that you use the ALSA:pulse device. It's more reliable.

If you absolutely want to use the pulse native drivers, make sure to change the default sampling rate on the pulse server to 48kHz

>
> Though not important, does anyone know how to get KDE (4.7) to work with Pulseaudio?
>
> When I am satisfied that this setup work I plan to install pre 0.25 on it to see if I get the same high CPU load or not, and finally upgrade my production system.

I'm not really sure why you tinkering with pulse would have anything to do with your mysql high load 

-----Original Message-----


I would like to disable Pulsaudio and use ALSA directly from mythfrontend, but currently that is unreliable, probably as you say because the DEV=3 is probably being in use elsewhere. This seems to be a problem even when telling KDE to prefer other devices like the optical SPDIF on the MB.

Is there a way to tell KDE not to use a device at all?
Just disabling Pulseaudio in OpenSUSE 11.3 (KDE 4.4) has worked just fine.
I can't think of any other applications running that would use the device. I guess Firefox might do something like that. I will test without it running.
I plan on using optical SPDIF but I guess this is not muxed either?

It is not my tinkering with Pulse that causes mysql high load.
The issue I refer to is this one: http://www.gossamer-threads.com/lists/mythtv/users/506352#506352

Jens



More information about the mythtv-users mailing list