mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
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
This commit is contained in:
parent
d519d14ad9
commit
73993149ec
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue