Ok, frankly, I haven't tested HSP/HFP kind of doing it now. But from the initial view, MODE_IN_CALL, is either speakers or hsp/hfp. so no A2DP.
Ok, even try this, play a ringtone, from Menu->Sound&Display-> It's played over the speakers, and not a2dp even if it is connected. So, I am thinking, hsp/hfp kicks in, when mode switches from MODE_NORMAL to MODE_IN_CALL, Anyway have to test it, to be very sure. I suppose someone else can validate, if the above is correct. regards, Pavan On Wed, Apr 1, 2009 at 10:11 AM, vishy <[email protected]> wrote: > > Hello All, > > Sorry for writing into this thread.The context of my question kind of > fits into this discussion. > > We noticed that when we've connected a Bluetooth Stereo Headset,an > incoming call alert ,heard on the Bluetooth headset,includes beeps and > some music(happens only on Stereo Bluetooth devices- tested on a > Motorola S9 -HD) . > > Would y'all let me know if this is how it is supposed to work? > Would it mean that the call alert is played over A2DP which includes > beeps as well! > > Thanks &Regards, > Vishy > > On Mar 25, 11:00 pm, pavan savoy <[email protected]> wrote: > > when connected to a jabra headset I hear audio gaps, where-as when I > connect > > to a motorola head-set, I don't hear any. > > I see that when I connect to jabra, I get more of > > "write blocked for %llu msecs" from the audioflinger/AudioFlinger.cpp. > > > > Note that during time of a2dp connection, all the parameters does seem > same, > > [same a2dp_hw_params], > > > > So any clue ? as to where should I be looking ? to get it working > properly ? > > > > regards, > > Pavan > > > > On Mon, Mar 23, 2009 at 3:01 PM, pavan savoy <[email protected]> > wrote: > > > Hey, > > > > > Got the a2dp on android working, streamed a mp3 file, no glitches, > unless I > > > don't go into the Bluetooth Settings Page. > > > Not sure avrcp is working as of yet, will also have a look @ that. > > > > > But it was great to know, a2dp just worked without modification of a > single > > > line of code !!! > > > > > great job guys ... > > > > > regards, > > > Pavan > > > > > On Thu, Mar 19, 2009 at 1:37 PM, pavan savoy <[email protected] > >wrote: > > > > >> ok, > > > > >> Not what I thought was since android provides 2 connection options, > > >> phone/media so, say If i deselect phone then a2dp should be used to > play a > > >> ringtone, if i deselect media then hsp/hfp should be used to play the > > >> ringtone. > > > > >> if both exists then probably media/a2dp... > > > > >> oh yeah, and I am not volunteering to implement any such feature-- > thanks > > >> :) > > > > >> regards, > > >> Pavan > > > > >> On Thu, Mar 19, 2009 at 1:32 PM, Mike Lockwood <[email protected] > >wrote: > > > > >>> The ringtones will play over a2dp if you are connected to an a2dp > > >>> headset. For handsfree, the headset might beep, but won't play the > > >>> ringtone. > > > > >>> I'm not sure if that is what you are asking or not, though. > > > > >>> Mike > > > > >>> On Thu, Mar 19, 2009 at 2:23 PM, pavan savoy <[email protected]> > > >>> wrote: > > >>> > so, once merged say the ringtones, will play on the BT head-set > right ? > > >>> > would it try and use a2dp ? > > > > >>> > Just thinking what can I change for the same to be played over > hsp/hfp, > > >>> > that's all... > > > > >>> > regards, > > >>> > Pavan > > > > >>> > On Thu, Mar 19, 2009 at 7:29 AM, Mike Lockwood < > [email protected]> > > >>> wrote: > > > > >>> >> On Wed, Mar 18, 2009 at 6:59 PM, pavan savoy < > [email protected]> > > >>> >> wrote: > > >>> >> > Hi, > > > > >>> >> > When I connect to an headset, I see there 2 types of connection > > >>> >> > happening, > > >>> >> > hsp/hfp & a2dp [phone & media], now suppose I try to play a > > >>> ring-tone, > > >>> >> > I see the a2dp routing happening, and android trying to run it > over > > >>> the > > >>> >> > a2dp. > > >>> >> > But I don't think the liba2dp of bluez is coming into picture... > > > > >>> >> > Do I need any special routing scenario for a2dp ? in libaudio ? > > > > >>> >> > What am I missing ? What else can I try with an head-set ? > > > > >>> >> > PS: I am NOT on cupcake branch > > >>> >> > regards, > > >>> >> > Pavan > > > > >>> >> Hi Pavan, > > > > >>> >> I'm not sure what the state of A2DP support is in master. But > earlier > > >>> >> in the history of cupcake, we were unable to play audio to both > the > > >>> >> phone's speaker and the A2DP headset simultaneously, so ringtones > were > > >>> >> always forced to play out the speaker instead of the headset. > This is > > >>> >> fixed in the latest cupcake - now ringtones will play out both the > > >>> >> speaker and headset. I expect this will be fixed in master after > JBQ > > >>> >> finishes merging the latest cupcake changes. > > > > >>> >> Mike > > > > >>> >> -- > > >>> >> Mike Lockwood > > >>> >> Google android team > > > > >>> -- > > >>> Mike Lockwood > > >>> Google android team > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
