diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-08-12 19:23:48 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-08-12 19:23:48 +0000 |
commit | 5e1deab05f71f64a881eb708025f16029e011c47 (patch) | |
tree | ea5dbdd80b556996ce5bc9f517f5b3ca24353caa /doc/Makefile.am | |
parent | d286294805fc3f05e4d47c7c0c00e4854528186a (diff) | |
download | mpd-5e1deab05f71f64a881eb708025f16029e011c47.tar.gz mpd-5e1deab05f71f64a881eb708025f16029e011c47.tar.xz mpd-5e1deab05f71f64a881eb708025f16029e011c47.zip |
decode: close audio device after initial open if paused
Currently, if we start decoding while the pause flag is set, we open the
audio device and leave it opened, blocking other apps from using it. The
obvious thing to do is to not open the audio device if the pause flag is
set, but the open call also sets the audio format. Therefore I'm leaving
the open call in, and just closing it immediately afterwards if the pause
flag is set.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6745 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions