aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-10 21:25:45 +0100
committerMax Kellermann <max@duempel.org>2009-03-10 21:25:45 +0100
commit855054fee1884f43aeca18b0d1218f9c9220f5e7 (patch)
tree7f7caebd8b65c605647843a9b6824c449bc76611 /src/main.c
parent538701e7c612cf68f7bbadc2329046b09062a988 (diff)
downloadmpd-855054fee1884f43aeca18b0d1218f9c9220f5e7.tar.gz
mpd-855054fee1884f43aeca18b0d1218f9c9220f5e7.tar.xz
mpd-855054fee1884f43aeca18b0d1218f9c9220f5e7.zip
alsa: don't close PCM handle in alsa_recover()
If the PCM handle gets disconnected, don't close and clear it in alsa_recover(). The MPD core will call alsa_close() anyway. This way, we can always assume that alsa_data.pcm is always valid.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions