for routing decisions check AudioPolicyManager.cpp, any device connection disconnection are taken care here.
On May 24, 4:41 am, Pent <[email protected]> wrote: > There used to be some functions in AudioManager to routeaudiotoBT. > Remaining these days is only setBluetoothScoOn(). > For some reason there is no setBluetoothA2DPOn(). > > I get a lot of requests to enable / disableroutingofaudio > (notifications, media etc) toA2DPdevices. > > It seems that currently if such a device is connectedaudiogoes > there, otherwise not (lets exclude the in-call case). > > Is it possible to cause Android to connect/disconnect toBTdevices as > a way of controlling theaudiorouting? Or another > means of controlling theaudioroutingas setBluetoothScoOn() does ? > > Thanks, > > Pent -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

