diff options
author | Philippe Renon <philippe_renon@yahoo.fr> | 2017-09-28 22:48:41 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-10-12 10:32:34 +0300 |
commit | 73993149ec98f38d23a9f7e52adaefc8b5fdd644 (patch) | |
tree | 57599836008c80131ec9cb61bc8e46be67e4cff5 /sys/directsound | |
parent | d519d14ad98b8d822f3f3bb75a08f67124f801f5 (diff) | |
download | gstreamer-plugins-good-73993149ec98f38d23a9f7e52adaefc8b5fdd644.tar.gz |
directsoundsink: don't call set_volume with private scaled volume
use get_volume() instead to get unscaled volume
https://bugzilla.gnome.org/show_bug.cgi?id=788847
Diffstat (limited to 'sys/directsound')
-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 1b75e5f1d..8c6c78c68 100644 --- a/sys/directsound/gstdirectsoundsink.c +++ b/sys/directsound/gstdirectsoundsink.c @@ -564,7 +564,8 @@ gst_directsound_sink_prepare (GstAudioSink * asink, return FALSE; } - gst_directsound_sink_set_volume (dsoundsink, dsoundsink->volume, FALSE); + gst_directsound_sink_set_volume (dsoundsink, + gst_directsound_sink_get_volume (dsoundsink), FALSE); gst_directsound_sink_set_mute (dsoundsink, dsoundsink->mute); return TRUE; |