Re: [Bluez-devel] New A2DP support : HOWTO ?

Johan Hedberg
2007-08-17T13:18:04Z

On Aug 17, 2007, at 15:44, Frederic Dalleau wrote:
> I had the feeling that start suspend and stop were some basic audio
> player controls...

That's what AVRCP is for. Start and Suspend in AVDTP are only used to
change between OPEN and STREAMING states. The "simultaneous use of
HFP, A2DP and AVRCP profiles" white-paper (available on
bluetooth.org) also has this as a recommendation in section 3:
"The A2DP profile should be seen as a way to setup and configure the
actual transport of a
streaming audio link, the A2DP profile should not be used to control
the applications streaming
data. To control the applications the AVRCP profile should be used."

> Maybe the start command could be used to launch the
> audio player and start playback. Then rejecting should only occur if
> launching failed.

Won't happen. It's just not how the architecture is. User
applications initiate access to the system wide audio service, not
the other way around.

> And acceptor role is mandatory.

Yes, and we of course support it.

Johan