fix volume for gstreamer sound backend
This commit is contained in:
parent
c59d729748
commit
404672a5b1
@ -88,7 +88,7 @@ class driver(soundDriver):
|
|||||||
return
|
return
|
||||||
if interrupt:
|
if interrupt:
|
||||||
self.cancel()
|
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_property('uri', 'file://%s' % fileName)
|
||||||
self._player.set_state(Gst.State.PLAYING)
|
self._player.set_state(Gst.State.PLAYING)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user