From 0a86afbe31a42913947f55eef4f7eaca87a3830a Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sat, 1 Sep 2012 11:19:46 +0200 Subject: [PATCH] Add audioresample and queue to pipeline, fixes #159 - Audioresample should perform as a noop in cases where no conversion is needed. In cases where the sink requires a fixed sample rate this will prevent output from breaking. - The queue is needed to ensure that our outputs play nicely and is simply a continuation of the queue that was in our old Output abstraction. --- mopidy/gstreamer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mopidy/gstreamer.py b/mopidy/gstreamer.py index 8d349fcc..ab4fd59b 100644 --- a/mopidy/gstreamer.py +++ b/mopidy/gstreamer.py @@ -52,6 +52,8 @@ class GStreamer(ThreadingActor): description = ' ! '.join([ 'uridecodebin name=uri', 'audioconvert name=convert', + 'audioresample name=resample', + 'queue name=queue', 'volume name=volume']) logger.debug(u'Setting up base GStreamer pipeline: %s', description)