aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer/alsa_mixer.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-25 18:48:27 +0100
committerMax Kellermann <max@duempel.org>2009-02-25 18:48:27 +0100
commit074d5ae13ef31ea015e73aee1d92ed49d59905a6 (patch)
treecd1c6599bcdba50a083c7978a762b9e641160c88 /src/mixer/alsa_mixer.c
parent8a882209c366efabca625ce788390b88cc5e5ef7 (diff)
downloadmpd-074d5ae13ef31ea015e73aee1d92ed49d59905a6.tar.gz
mpd-074d5ae13ef31ea015e73aee1d92ed49d59905a6.tar.xz
mpd-074d5ae13ef31ea015e73aee1d92ed49d59905a6.zip
ao: removed AoData.device!=NULL checks
The MPD core guarantees that the audio_output object is always in a consistent state: either open or closed. When open, it will not call the open() method again, and when closed, it will not call play(). Removed several checks and the NULL initialization.
Diffstat (limited to 'src/mixer/alsa_mixer.c')
0 files changed, 0 insertions, 0 deletions