aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/flac_plugin.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-06-09 21:40:56 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-06-09 21:40:56 +0000
commit4e5cffaa7bed4cb11a30b7477da60055903e19f0 (patch)
tree694ac4fe9dec1b6bd2bdc950d902aa12f1e5ebd5 /src/inputPlugins/flac_plugin.c
parent8feaf84b2439d8e9e321354939a5ec61da0a6ebc (diff)
downloadmpd-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 'src/inputPlugins/flac_plugin.c')
0 files changed, 0 insertions, 0 deletions