[pulseaudio-discuss] Need a way to check when start-pulseaudio-x11 fully initialized

Anton Lundin glance at acc.umu.se
Sat Aug 16 14:45:54 PDT 2014


On 16 August, 2014 - John wrote:

> 
> 
> ----- Original Message -----
> > From: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
> > To: John <da_audiophile at yahoo.com>
> > Cc: "pulseaudio-discuss at lists.freedesktop.org" <pulseaudio-discuss at lists.freedesktop.org>
> > Sent: Friday, August 15, 2014 11:55 AM
> > Subject: Re: [pulseaudio-discuss] Need a way to check when start-pulseaudio-x11 fully initialized
> > The XBMC logs talk about "enumerated alsa devices", which sounds very
> > much like XBMC is not using pulseaudio to enumerate the devices. Maybe
> > it doesn't use pulseaudio for streaming either.
> > 
> > I suspect that what happens is that when pulseaudio starts, it opens the
> > HDMI and analog devices, keeps them open for 5 seconds, and then
> > suspends them. Without the extra delay, XBMC can't use the devices while
> > pulseaudio has them open, so only the digital output works for XBMC
> > (pulseaudio only ever uses either analog or spdif at any given time, not
> > both). With the extra delay, pulseaudio has released the devices by the
> > time XBMC tries to use them.
> > 
> > Does XBMC work if you don't start pulseaudio at all?
> 
> 
> Yes, it can run using alsa, but I need pulseaudio on the system.

Then I suggest that you configure XBMC to use pulseaudio as audio output
device.

The pulseaudio support in XBMC was a bit shaky for a while but nowadays
everything runs smoothly and thats the best way if you would like to
have pulseaudio running.

//Anton

-- 
Anton Lundin	+46702-161604


More information about the pulseaudio-discuss mailing list