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

Luiz Augusto von Dentz
2007-08-02T03:22:11Z

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=3D1 freq=3D1032 cnt=3D24833 (1032/0) poll=3D1048
> latency=3D1185972125 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=3D1185972125 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=3D1 freq=3D1144 cnt=3D25977 (1144/0) poll=3D1162
> latency=3D1185972126 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=3D1185972126 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
>

-- =

Luiz Augusto von Dentz
Engenheiro de Computa=E7=E3o