aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-23 10:33:23 +0200
committerMax Kellermann <max@duempel.org>2009-10-23 10:33:23 +0200
commitacc99da73d7f5ca0ce63aaf770764d0afcbd7de2 (patch)
tree422a07b2635088d53337a5832cc57d1537a5f49c /src
parentc4f895daf4bcfcda2ea892896f999911f37cec26 (diff)
downloadmpd-acc99da73d7f5ca0ce63aaf770764d0afcbd7de2.tar.gz
mpd-acc99da73d7f5ca0ce63aaf770764d0afcbd7de2.tar.xz
mpd-acc99da73d7f5ca0ce63aaf770764d0afcbd7de2.zip
mixer_control: don't close the mixer if set_volume() fails
A mixer is useful enough if it can be read. Setting it may be found unavailable at runtime.
Diffstat (limited to '')
-rw-r--r--src/mixer_control.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mixer_control.c b/src/mixer_control.c
index 7a8ba48e4..3369f9ae8 100644
--- a/src/mixer_control.c
+++ b/src/mixer_control.c
@@ -171,8 +171,6 @@ mixer_set_volume(struct mixer *mixer, unsigned volume, GError **error_r)
if (mixer->open) {
success = mixer->plugin->set_volume(mixer, volume, error_r);
- if (!success)
- mixer_failed(mixer);
} else
success = false;