How are you assigning RINGTONE to AUDIO_OUTPUT_FLAG_DIRECT. Does your platform have DIRECT OUTPUT support in Audio HAL?
On Monday, March 10, 2014 6:45:40 AM UTC-7, Shanthini Nambiar wrote: > > Hi All, > > I want to separate the audio paths that is used for ringtone/touch sounds > and the music playback. The aim is to get this path separated, so that when > mute is applied on the main audio path, ringtone /touch sound is not muted. > For eg: when music playback is muted, and skype incoming call comes, the > ringtone should be heard. > > We are using mastervolume for applying volume on both the paths. I tried > setting the ringtone path to AUDIO_OUTPUT_FLAG_DIRECT so that it uses the > direct output thread and does not get mixed with the main audio. But this > is causing the music playback also to mute. > Is this the right approach? Could you please tell where can I separate the > ringtone/ touch sound and music playback in Audioflinger? > > Thanks in advance, > Shanthini > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.