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.
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)