Commit acc99da7 authored by Max Kellermann's avatar Max Kellermann

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.
parent c4f895da
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment