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

Johan Hedberg
2007-08-17T13:43:50Z

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.

Johan