jasonmc/forked-daapd — Issue #82: Audio device not released when paused by remote
Author: benlancaster
Created: 2012-01-07 22:20:45+00:00
State: open

My setup:

- Mythbuntu 11.04
- Digital audio over HDMI via Nvidia gfx card
- Forked-daapd

Problem:

When playback is paused by an iOS remote, forked-daapd does not "release" the audio device for other applications to use. So if, for example, I play some music via iOS remote and forked-daapd, then pause it (in the absence of a "stop" button on the remote) and then attempt to play something else from another application (e.g. watch a TV/Recording on MythTV or a movie on XBMC), there's no sound and logs say stuff like:

ALSA, Error: snd_pcm_open("hdmi:CARD=NVidia,DEV=0"): Device or resource busy

The only way to work around it as far as I can see is to specifically untick playback device in the iOS remote ("Lounge" in my case) and then pause the music - this seems to release the device.