fix volume for gstreamer sound backend

This commit is contained in:
Chrys 2020-12-16 00:23:37 +01:00
parent c59d729748
commit 404672a5b1

View File

@ -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)