Bug#786660: pulseaudio-module-bluetooth: Cracky sound when something else runs

Julien Palard julien at palard.fr
Sat May 30 19:18:30 UTC 2015


First thanks for your time,  it helped a lot:

On 05/30/2015 01:24 AM, Felipe Sateler wrote:
> What parameters are you giving to the loopback module? I see in the log:
> source="bluez_source.C4_43_8F_9F_F5_36" source_dont_move="true"
> sink_input_properties="media.role=music"
> Is that all?

It was just:

pactl load-module module-loopback source=bluez_source.C4_43_8F_9F_F5_36 

> Try increasing the latency (default is 200), or disabling remixing.
> If that fails, try changing the resampler in the configuration file.
I tried with latency-msec=2000 -> same
I tried (keeping latency-msec=2000) to add remix=false -> A little bit 
better, not sure.
I tried to set `resample-method = src-sinc-best-quality` -> That's GOOD !
I'm reverting to a default value to remix (not sure it's true) -> Still 
good !
I'm reverting to the default value of 200 for latency-msec -> Still perfect

So it's the resample-method, it was not set in my configuration, only 
commented, maybe the default ? Was:

; resample-method = speex-float-1

I tried to find for you which resample-method was picked with this 
magical "best-quality" mode, and I found this in syslog:

resampler.c: Support for resampler 'src-sinc-best-quality' not compiled 
in, reverting to 'auto', so I tried pulseaudio -vvv and got:

D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c:   rate 44100 -> 44100 (method speex-float-1)
D: [pulseaudio] resampler.c:   format s16le -> s16le (intermediate 
D: [pulseaudio] resampler.c:   channels 2 -> 2 (resampling 2)

Hope that's helps ? Tell me if you need more information / debugs / logs 
/ tests / whatever.


Julien Palard

More information about the pkg-pulseaudio-devel mailing list