[pulseaudio-discuss] May pulseadio still have some 'memory' after bluetooth headset changed profile and cause unnecessary resampling?
mengdong.lin at intel.com
Tue May 31 08:44:16 PDT 2011
> ... but on a quick
> glance, I think the name of the resample method is left behind after the
> move, even if a resampler is not being used, but the actual resampler is
> indeed freed and reset.
Many thanks, Col!
I think you're right that the resampler is not being used after the move and only the name of the resampler method is left. I tried your patch and the resample method become right as 'null' for the GTalk 8000HZ mono input to the Bluetooth HSP sink. So resample does not really exist and cannot the root cause why the voice I hear is abnormal, seconds of voice and long silent interval.
I need to check the sink input data of the GTalk. There are multiple routing for this input: at first the Bluetooth A2DP sink, then to ALSA sink because A2DP sink is removed on profile switch from A2DP to HSP, and then to Bluetooth HSP sink. Is it possible that some input data are lost after the input stream is connected to the HSP sink, maybe for some reason as buffer overflow?
More information about the pulseaudio-discuss