From 404672a5b1ec9ee8ad062ed8105492b5bb17ce53 Mon Sep 17 00:00:00 2001 From: Chrys Date: Wed, 16 Dec 2020 00:23:37 +0100 Subject: [PATCH] fix volume for gstreamer sound backend --- src/fenrirscreenreader/soundDriver/gstreamerDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/soundDriver/gstreamerDriver.py b/src/fenrirscreenreader/soundDriver/gstreamerDriver.py index a3ae64a4..c1ea3bd5 100644 --- a/src/fenrirscreenreader/soundDriver/gstreamerDriver.py +++ b/src/fenrirscreenreader/soundDriver/gstreamerDriver.py @@ -88,7 +88,7 @@ class driver(soundDriver): return if interrupt: self.cancel() - self._source.set_property('volume', self.volume) + self._player.set_property('volume', self.volume) self._player.set_property('uri', 'file://%s' % fileName) self._player.set_state(Gst.State.PLAYING)