You are not logged in.

#1 2013-06-17 01:09:03

From: Akron, Ohio
Registered: 2010-08-17
Posts: 225

Can I make Pulseaudio release the ALSA device?

Hey guys,

Is it possible to have pulseaudio release the ALSA device when there is no sound playing through PA?

Alternatively, is there a way to tell PA through D-Bus to release the device? (Based on this documentation it appears like it's possible)

I'm using XBMC on my HTPC and am using PA so I can stream audio from other devices to the HTPC so I can listen to them on my nice HTPC speaker setup. However if I want to use Bitstreaming / Passthrough audio with XBMC, the ALSA device cannot be in use. The problem is PA seems to keep the device open no matter what.

Any ideas?


#2 2013-06-17 08:39:05

Registered: 2010-04-27
Posts: 1,227

Re: Can I make Pulseaudio release the ALSA device?

As far as I can tell, pulseaudio already does this automatically however, if you want to force it to release, the following should work:

gdbus call -e -d org.freedesktop.ReserveDevice1.Audio0 -o /org/freedesktop/ReserveDevice1/Audio0 -m org.freedesktop.ReserveDevice1.RequestRelease <release priority>

Last edited by Stebalien (2013-06-17 08:39:28)

Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email:


Board footer

Powered by FluxBB