2006-09-20 12:20:57

by joakim

[permalink] [raw]
Subject: Re: [Bluez-users] a2play and btsco questions

[email protected] writes:

> Fr=E9d=E9ric DALLEAU <[email protected]> writes:

It seems I can get the AVRCP commands to work "sometimes"(for some
unknown definition of "sometimes"), so my headset appear to support
it.

so , current problems are:
- I dont know how to make AVRCP commands work reliably, or how to
debug it. I think maybe some command has to produce output to the
a2dpd daemon for AVRCP commands to be received.

- xmms output is really choppy, whereas mplayer output is ok.
I tried fiddling about with xmms alsa settings, like mmap and buffer
settings and whatnot, but no real breakthrough.



>
>>>> Some problems remains:
>>>> - the sound is much "choppier" than with a2play
>>>> =

>> It should not be that bad, try another audio player ( =

>> xmms/amarok/xine/mpg321 )
>>>> I suspect this line from a2dpd output:
>>>> setscheduler returns -1 (errno=3D1:Operation not permitted)
>>>>
>>>> must I run a2dpd as root?
>>>> =

>> not necessary but can help as it increase priority
>>>> - I only get sound in 1 earpiece, the sound is very soft in the other =
one.
>>>> =

>> bug, use sample.a2dprc as a base
>> revert the value used for enablereversestereo (1 instead of 0)
>
> Thanks, I didnt notice this file.
>
>>> Forgot:
>>> the "cmd" definitions doesnt seem to do anything!
>>> =

>> Does your headset support AVRCP ? sdptool browse "ad:dr:ess"
>
> Im not sure how to interpret it. I attach the output.
>
>
>
>> Fr=E9d=E9ric
>>
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share =
your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=
=3DDEVDEV
>
> -- =

> Joakim Verona
> http://www.verona.se
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share y=
our
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV_______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users

-- =

Joakim Verona
http://www.verona.se


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2006-09-22 08:15:56

by Frédéric DALLEAU

[permalink] [raw]
Subject: Re: [Bluez-users] a2play and btsco questions

Hi,
> It seems I can get the AVRCP commands to work "sometimes"(for some
> unknown definition of "sometimes"), so my headset appear to support
> it.
>
> so , current problems are:
> - I dont know how to make AVRCP commands work reliably, or how to
> debug it. I think maybe some command has to produce output to the
> a2dpd daemon for AVRCP commands to be received.
>
A2DPD can run some commands to control a mediaplayer remotly.
Xmms provide such features. It is player dependent and can be customized
in .a2dprc.

My old headset behave differently depending whether it was receiving
sound or not :
When not receiving sound, it did not do AVRCP at all, but it tried to
establish an A2DP connection. So the daemon received this incoming A2DP
connection, close it and launch the media player, wich in turn will
make a new outgoing A2DP connection to the headset.

When playing, the headset will send normal AVRCP commands.

> - xmms output is really choppy, whereas mplayer output is ok.
> I tried fiddling about with xmms alsa settings, like mmap and buffer
> settings and whatnot, but no real breakthrough.
>
Do you send 44100 Hz stereo? It's the only supported format. Other
format need conversion.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users