jasonmc / forked-daapd

A re-write of the firefly media server (mt-daapd). It's released under GPLv2+. Please note that this git repository is a mirror of the official one at git://git.debian.org/~jblache/forked-daapd.git
http://blog.technologeek.org/2009/06/12/217
GNU General Public License v2.0
328 stars 45 forks source link

Audio device not released when paused by remote #82

Open benlancaster opened 12 years ago

benlancaster commented 12 years ago

My setup:

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.