Re: [Bluez-devel] a2dp, sco and kernel version

Manuel Naranjo
2007-08-02T04:02:02Z

I want to help, just tell me what you need and I get it to all for you.
I work for the company that builds the USB dongle [1], and I'm using the
hifi headset we sell. So I have plenty access to almost every hardware
detail. So please let me know what you need, logs, etc, and I get it.
Thanks,
Manuel

[1] http://www.aircable.net/host-xr.html

> Your bandwidth seems to be higher than expected,
> thought we dont know how much is your bitpool.
>
> Here using 53 the bandwidth used is about 350 kbps,
> using a value higher than 64 it starts to give me some
> buffer problems.
>
> On 8/1/07, Manuel Naranjo <naranjo.manuel@gmail.com> wrote:
>
>>> Make sure your stream is 44.1khz stereo
>>>
>>>
>> That's the first thing I had checked
>>
>>> Do you use the plug plugin?
>>>
>>> pcm.!default {
>>> type plug
>>> slave.pcm "a2dpdplug"
>>> }
>>>
>>> pcm.a2dpdplug {
>>> type a2dpd
>>> }
>>>
>>> Also this variant may help :
>>>
>>> pcm.a2dpdplug {
>>> type a2dpd
>>> rateconstraint 44100
>>> }
>>>
>>>
>> Sorry but that didn't worked.
>>
>> Here's what mplayer is telling me:
>> alsa-play: trying to reset soundcard
>> alsa-play: write error: Broken pipe0) 2.3%
>> alsa-play: trying to reset soundcard
>> A: 80.9 (01:20.9) of 189.0 (03:09.0) 2.3%
>>
>> And this is what a2dpd says about it:
>> A2DPD[09:42:05.562]: display_daemon_state: [16,16|16,16] playing
>> connected clients=1 freq=1032 cnt=24833 (1032/0) poll=1048
>> latency=1185972125 sec.
>> A2DPD[09:42:05.616]: a2dp_transfer_raw: send (retry).
>> A2DPD[09:42:05.767]: a2dp_transfer_raw: Bandwith: 79488 (621 kbps) 32,
>> latency=1185972125 sec.
>> A2DPD[09:42:05.826]: a2dp_transfer_raw: send (retry).
>> A2DPD[09:42:05.030]: a2dp_transfer_raw: send (retry).
>> A2DPD[09:42:06.234]: a2dp_transfer_raw: send (retry).
>> A2DPD[09:42:06.479]: a2dp_transfer_raw: send (retry).
>> A2DPD[09:42:06.631]: display_daemon_state: [16,16|16,16] playing
>> connected clients=1 freq=1144 cnt=25977 (1144/0) poll=1162
>> latency=1185972126 sec.
>> A2DPD[09:42:06.672]: a2dp_transfer_raw: send (retry).
>> A2DPD[09:42:06.836]: a2dp_transfer_raw: Bandwith: 85077 (664 kbps) 32,
>> latency=1185972126 sec.
>> A2DPD[09:42:06.895]: a2dp_transfer_raw: send (retry).
>> A2DPD[09:42:06.103]: a2dp_transfer_raw: send (retry).
>> A2DPD[09:42:07.307]: a2dp_transfer_raw: send (retry).
>> A2DPD[09:42:07.508]: a2dp_transfer_raw: send (retry).
>>
>> Any ideas what can be wrong?
>>
>> Thanks,
>> Manuel
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Bluez-devel mailing list
>> Bluez-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>
>>