[pulseaudio-discuss] A2DP - Bluetooth source to alsa sink audio routing

Luiz Augusto von Dentz luiz.dentz at gmail.com
Tue Feb 22 12:58:36 PST 2011


Hi,

On Tue, Feb 22, 2011 at 7:27 PM, Cristina Cristea
<doina.cristina at gmail.com> wrote:
> Thanks Maarten, that really makes the sample rate adjustment to not be
> noticed by the listener.
> Unfortunately, I still get the underrun issues. Here is a log snippet:
>
> D: module-loopback.c: Loopback overall latency is 46.98 ms + 150.19 ms +
> 135.29 ms = 332.46 ms
> D: module-loopback.c: Should buffer 23600 bytes, buffered at minimum 0 bytes
> I: module-loopback.c: New rate of 43510 Hz not within 2‰ of 44264 Hz,
> forcing smaller adjustment
> D: module-loopback.c: [alsa_output.pci-0000_00_1b.0.analog-stereo] Updated
> sampling rate to 44175 Hz.
> D: module-loopback.c: Loopback overall latency is 45.68 ms + 115.25 ms +
> 137.67 ms = 298.60 ms
> D: module-loopback.c: Should buffer 23552 bytes, buffered at minimum 0 bytes
> I: module-loopback.c: New rate of 43512 Hz not within 2‰ of 44175 Hz,
> forcing smaller adjustment
> D: module-loopback.c: [alsa_output.pci-0000_00_1b.0.analog-stereo] Updated
> sampling rate to 44086 Hz.
> D: alsa-sink.c: Wakeup from ALSA!
> I: module-loopback.c: Coud not peek into queue
> I: module-loopback.c: Coud not peek into queue
> I: module-loopback.c: Coud not peek into queue
> I: module-loopback.c: Coud not peek into queue
> D: module-loopback.c: Requesting rewind due to end of underrun.
> D: module-loopback.c: Requesting rewind due to end of underrun.
> D: module-loopback.c: Requesting rewind due to end of underrun.
> D: module-loopback.c: Requesting rewind due to end of underrun.
> D: module-loopback.c: Requesting rewind due to end of underrun.
> D: module-loopback.c: Requesting rewind due to end of underrun.
> D: module-loopback.c: Requesting rewind due to end of underrun.
> D: module-loopback.c: Requesting rewind due to end of underrun.
> D: module-loopback.c: Loopback overall latency is 52.43 ms + 268.86 ms +
> 135.29 ms = 456.58 ms
> D: module-loopback.c: Should buffer 23512 bytes, buffered at minimum 0 bytes
> I: module-loopback.c: New rate of 43513 Hz not within 2‰ of 44086 Hz,
> forcing smaller adjustment
> D: module-loopback.c: [alsa_output.pci-0000_00_1b.0.analog-stereo] Updated
> sampling rate to 43997 Hz.
> D: alsa-sink.c: Wakeup from ALSA!
>

Maybe the bitpool reduction patch helps in this case, you can pull it from here:

http://gitorious.org/pulseaudio/mainline/commit/0af8374547c0b41d0b2669fd67b3f02140129ade

I should probably be sending it upstream pretty soon since it helps
with many old headset.

-- 
Luiz Augusto von Dentz
Computer Engineer



More information about the pulseaudio-discuss mailing list