mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
dirctsoundsink: Fix volume reset on unmute
https://bugzilla.gnome.org/show_bug.cgi?id=755106
This commit is contained in:
parent
d746e1ef51
commit
e345a7fee9
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue