diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-09 21:40:56 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-09 21:40:56 +0000 |
commit | 4e5cffaa7bed4cb11a30b7477da60055903e19f0 (patch) | |
tree | 694ac4fe9dec1b6bd2bdc950d902aa12f1e5ebd5 /src/interface.c | |
parent | 8feaf84b2439d8e9e321354939a5ec61da0a6ebc (diff) | |
download | mpd-4e5cffaa7bed4cb11a30b7477da60055903e19f0.tar.gz mpd-4e5cffaa7bed4cb11a30b7477da60055903e19f0.tar.xz mpd-4e5cffaa7bed4cb11a30b7477da60055903e19f0.zip |
If an audio output is in state DEVICE_ENABLE, and openAudioOutput fails,
leave it in that state. Likewise, if an audio output is in state
DEVICE_ON, and reopening the device due to a format change fails, change it
to state DEVICE_ENABLE. This will prevent flushAudioBuffer from even
attempting to play audio on a closed device (even though it would fail
anyway).
git-svn-id: https://svn.musicpd.org/mpd/trunk@6529 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions