dirctsoundsink: Fix volume reset on unmute
https://bugzilla.gnome.org/show_bug.cgi?id=755106
This commit is contained in:
parent
d746e1ef51
commit
e345a7fee9
@ -941,7 +941,8 @@ gst_directsound_sink_set_mute (GstDirectSoundSink * dsoundsink, gboolean mute)
|
|||||||
gst_directsound_sink_set_volume (dsoundsink, 0, FALSE);
|
gst_directsound_sink_set_volume (dsoundsink, 0, FALSE);
|
||||||
dsoundsink->mute = TRUE;
|
dsoundsink->mute = TRUE;
|
||||||
} else {
|
} 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;
|
dsoundsink->mute = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user