Commit e345a7fe authored by Thomas Roos's avatar Thomas Roos Committed by Sebastian Dröge

dirctsoundsink: Fix volume reset on unmute

https://bugzilla.gnome.org/show_bug.cgi?id=755106
parent d746e1ef
......@@ -941,7 +941,8 @@ gst_directsound_sink_set_mute (GstDirectSoundSink * dsoundsink, gboolean mute)
gst_directsound_sink_set_volume (dsoundsink, 0, FALSE);
dsoundsink->mute = TRUE;
} else {
gst_directsound_sink_set_volume (dsoundsink, dsoundsink->volume, FALSE);
gst_directsound_sink_set_volume (dsoundsink,
gst_directsound_sink_get_volume (dsoundsink), FALSE);
dsoundsink->mute = 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