> > - For cell phone call, to let PA know a cell phone call begins so that it can set > BT profile to "Off" and pause music, are you suggesting we write a PA module > to detect cell modem call event? > > Not exactly, we could probably have some mechanism to tag streams e.g. > the dialer app tags its stream as 'voice' and the media player as > 'music', this way PA don't need to depend on any telephony stack to do > the profile switch. I feel this method has a gap: Since the voice data from cell modem bypass PA in such a system, will the dialer app create the sink-input/source-output stream tagged as 'voice' or 'phone' for PA? If the phone streams do not appear in PA, PA cannot know the time to switch profile by checking the stream's media role. Please correct me if I misunderstand something. Great thanks Mengdong -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html