summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Trousset <etrousset@awox.com>2015-01-12 18:07:33 +0100
committerEdward Hervey <bilboed@bilboed.com>2015-02-18 12:17:31 +0100
commitc6a079de0f9d91e92fcc00d36a9081a7ece30be1 (patch)
tree5e97a928dbd5815286e3283c41a970df5c79d74d
parentd35869988c241020df003763b5017f0909d2282e (diff)
-Should fix Mute/Unmute issue under windows
-rw-r--r--sys/directsound/gstdirectsoundsink.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c
index 56b04187c..0f48363c4 100644
--- a/sys/directsound/gstdirectsoundsink.c
+++ b/sys/directsound/gstdirectsoundsink.c
@@ -867,10 +867,12 @@ gst_directsound_sink_set_mute (GstDirectSoundSink * dsoundsink, gboolean mute)
gst_directsound_sink_set_volume (dsoundsink, 0, FALSE);
else
gst_directsound_sink_set_volume (dsoundsink, dsoundsink->volume, FALSE);
+
+ dsoundsink->mute = mute;
}
static gboolean
gst_directsound_sink_get_mute (GstDirectSoundSink * dsoundsink)
{
- return FALSE;
+ return dsoundsink->mute;
}