A2DP - Bluetooth source to alsa sink audio routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Already have it. That and this patch: 
http://gitorious.org/pulseaudio/mainline/commit/4163b44f1fd39be030dda282417f1aa167e7cb55
Without the second one my PulseAudio would crash when trying to connect 
to my phone with the following error:

E: module-bluetooth-device.c: Assertion '(size_t) decoded == 
a2dp->frame_length' failed at 
../../src/modules/bluetooth/module-bluetooth-device.c:1467, function 
a2dp_process_push(). Aborting.
I attached a more complete log.

Thanks,
Cristina




On 02/22/2011 10:58 PM, Luiz Augusto von Dentz wrote:
> 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.
>
>    

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pulseaudio-bt-crash.log
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110224/f8518f21/attachment.txt>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux