Introduce GSTREAMER_AUDIO_SINK setting to control which sink we use
This commit is contained in:
parent
e566e7acc2
commit
7f25b0b514
@ -66,7 +66,7 @@ class GStreamerProcess(BaseProcess):
|
||||
self.gst_pipeline = gst.parse_launch(' ! '.join([
|
||||
'audioconvert name=convert',
|
||||
'volume name=volume',
|
||||
'autoaudiosink'
|
||||
settings.GSTREAMER_AUDIO_SINK,
|
||||
]))
|
||||
|
||||
pad = self.gst_pipeline.get_by_name('convert').get_pad('sink')
|
||||
|
||||
@ -167,3 +167,8 @@ SPOTIFY_USERNAME = u''
|
||||
#:
|
||||
#: Used by :mod:`mopidy.backends.libspotify`.
|
||||
SPOTIFY_PASSWORD = u''
|
||||
|
||||
#: Which GStreamer audio sink to use in output pipeline.
|
||||
#:
|
||||
#: Default: autoaudiosink
|
||||
GSTREAMER_AUDIO_SINK = u'autoaudiosink'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user