Search
SailfishOS Open Build Service
>
Projects
>
home:kimmoli
:
testing
>
pulseaudio
> _service:tar_git:1004-daemon-Set-default-resampler-to-speex-fixed-2.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:1004-daemon-Set-default-resampler-to-speex-fixed-2.patch of Package pulseaudio
From 8e6391c5453fd250bcec4db72a7ec1da8d8dab7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juho=20H=C3=A4m=C3=A4l=C3=A4inen?= <juho.hamalainen@tieto.com> Date: Thu, 10 Apr 2014 09:41:00 +0300 Subject: [PATCH 1004/1015] daemon: Set default resampler to speex fixed 2. --- src/daemon/daemon.conf.in | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in index 35c13a4..20b1bfd 100644 --- a/src/daemon/daemon.conf.in +++ b/src/daemon/daemon.conf.in @@ -65,7 +65,23 @@ exit-idle-time = -1 ; log-time = no ; log-backtrace = 0 -; resample-method = speex-float-1 +# speex-float-x is arguably too heavy resampler to be the default. +# Ubuntu, for example, patches this to speex-float-2. Mer is targeted +# at mobile devices, and speex-float-2 may still be a bit too heavy +# for that purpose. Ideally the default resampler would be decided by +# hardware adaptations, but for now we patch this in Mer. +# +# Why ffmpeg, why not e.g. speex-fixed-1? I don't know, I'm not aware +# of the history of that decision. If you think something else would +# be better, feel free to change this (and document the rationale +# here). +# +# Changed from ffmpeg to speex-fixed-2 due to ffmpeg producing broken +# audio data in some cases (mono samples). No good other rationale +# for choosing the resampling method as of yet. Benchmarking different +# resamplers would be a good starting point to decide properly. +resample-method = speex-fixed-2 + ; enable-remixing = yes ; enable-lfe-remixing = no -- 1.9.1