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.
This commit is contained in:
Max Kellermann 2009-10-23 10:33:23 +02:00
parent c4f895daf4
commit acc99da73d
1 changed files with 0 additions and 2 deletions

View File

@ -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;