When you say "mute the voice call", do you mean uplink audio, i.e. transmitted from the local phone to the network? If so, you can call:
AudioService.setMicrophoneMute(True); However, there is no path to transmit audio from the application processor to the uplink, for example, to play a sound effect on the local phone that will be heard by the caller on the other end. Also, it's not advisable to call AudioManager directly. If you're app crashes and leaves the audio in a weird state, there may be no way to recover without rebooting the phone. Always call through AudioService which will usually restore the phone to a usable state if the app crashes. On Nov 3, 12:11 am, hyuen <[EMAIL PROTECTED]> wrote: > I am trying to mute the voice call and play something else, but seems > that > > AudioManager.setStreamSolo() > > is not working. > > Am I doing something totally incorrectly? is this even supported by > the current API? > > -h --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

