diff options
author | Thomas Roos <thomas.roos@industronic.de> | 2016-03-08 13:57:24 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-03-08 20:42:06 +0200 |
commit | e345a7fee9dc0190b59a49967818ae88dc71fe8c (patch) | |
tree | e8a4d2885e48c206ccc3b98010b9f2344748d814 /sys | |
parent | d746e1ef513106dfa545ed3ab8c596507536c07e (diff) |
dirctsoundsink: Fix volume reset on unmute
https://bugzilla.gnome.org/show_bug.cgi?id=755106
Diffstat (limited to 'sys')
-rw-r--r-- | sys/directsound/gstdirectsoundsink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c index ffd1bfe89..6845fb0fc 100644 --- a/sys/directsound/gstdirectsoundsink.c +++ b/sys/directsound/gstdirectsoundsink.c @@ -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; } |