hi,

still unable to figure out the root-cause of issue connected only to phone
not to media on re-boot
Who is exactly sending the MESSAGE_DISCONNECT, is it really coming from the
stack ?
onSinkDisconnect ?

I could find no reason why ?
It does seem there is some logic problem with the whole reconnect procedure
of a2dp, still looking .. haven;t found reasons...

any help ?

regards,
Pavan

On Fri, May 29, 2009 at 7:31 PM, pavan savoy <[email protected]> wrote:

> 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
>
>


-- 
--Pavan Savoy

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to