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

Frederic Dalleau
2007-08-17T13:53:59Z

On Fri, 2007-08-17 at 16:43 +0300, Johan Hedberg wrote:
> On Aug 17, 2007, at 16:18, Johan Hedberg wrote:
> >> 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.
>
> Just a little clarification to this so you don't think we loose all
> usefulness of doing stuff automatically when a headset connects to
> us: The audio service sends (D-Bus) signals when devices connect and
> disconnect and the plan is to also integrate with HAL (a patch is
> already in the works) to provide a object which HAL aware
> applications (e.g. pulseaudio) could automatically use. This way the
> applications or a sound server can automatically recognize the
> connected headset and switch their audio routing accordingly.

Oh I see, then there is no need to write a pulseaudio specific plugin.

However, A2DP Test Suite check SNK initiated stream start.

4.2.4.1 TP/SET/BV-04-I [Start Stream. - SNK]
To verify that SNK can start audio streaming.

A reject would probably make the test fail.

Frederic