ok, why does the A2Dpservice receive a MESSAGE_DISCONNECT ? also where does it receive it from ?
this is causing the a2dp connection after a system reset to get disconnected. regards, Pavan On Fri, May 29, 2009 at 1:45 PM, pavan savoy <[email protected]> wrote: > 1 more observation -- > > 4. on a re-boot, when previously the headset was connection, it does > properly initiate an a2dp connection and succeeds however, after few seconds > it disconnects the a2dp connection but not the hsp/hfp one. > > somehow all these are so very consistent, like they were supposed to > happen. > > > On Fri, May 29, 2009 at 12:21 PM, pavan savoy <[email protected]>wrote: > >> Hi, >> >> I see some strange behavior whenever this intent happens >> SINK_STATE_CHANGED. >> >> 1. no song is playing, a2dp connection, play song -- in this case both h/w >> output stream and a2dp stream is opened by the audioflinger. >> >> 2. audio playing locally, a2dp connection -- in this player automatically >> starts playing on bt headset >> where is the a2dp stream opened in this case ? >> >> 3. audio is playing on bt headset, a2dp connection is disconnected -- the >> player pauses the local playback, only when i go back to the music player >> app, the audio is continued. >> where is the h/w output stream opened in this case ? >> >> where in code should i be looking for these things ? >> thanks, any help is appreciated .... >> -- >> --Pavan Savoy >> >> > > > -- > --Pavan Savoy > > -- --Pavan Savoy --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
