diff options
author | Max Kellermann <max@duempel.org> | 2009-03-10 21:25:45 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-10 21:25:45 +0100 |
commit | 855054fee1884f43aeca18b0d1218f9c9220f5e7 (patch) | |
tree | 7f7caebd8b65c605647843a9b6824c449bc76611 /src/stats.c | |
parent | 538701e7c612cf68f7bbadc2329046b09062a988 (diff) | |
download | mpd-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/stats.c')
0 files changed, 0 insertions, 0 deletions