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
@ -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…
x
Reference in New Issue
Block a user