From b80361ccb2fd2bb3e1f6b3132b2e0d848d54c6d9 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sun, 26 Apr 2015 23:07:10 +0200 Subject: [PATCH] audio: Increase per tee branch buffer size. Fixes #1147 --- docs/changelog.rst | 4 ++++ mopidy/audio/actor.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 123ca456..7dd2101a 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -12,6 +12,10 @@ Bug fix release. - HTTP: Make event broadcasts work with Tornado 2.3, the previous threading fix broke this. +- Audio: Fix for :issue:`1097` tuned down the buffer size in the queue. Turns + out this can cause distortions in certain cases. Give this an other go with + a more generous buffer size. (Fixes: :issue:`1147`) + v1.0.1 (2015-04-23) =================== diff --git a/mopidy/audio/actor.py b/mopidy/audio/actor.py index e0a7892a..3198c006 100644 --- a/mopidy/audio/actor.py +++ b/mopidy/audio/actor.py @@ -164,7 +164,7 @@ class _Outputs(gst.Bin): # All tee branches need a queue in front of them. # But keep the queue short so the volume change isn't to slow: queue = gst.element_factory_make('queue') - queue.set_property('max-size-buffers', 5) + queue.set_property('max-size-buffers', 15) self.add(element) self.add(queue) queue.link(element)