title: How to mute audio speaker in android
body: <p>Can anybody tell me how to mute audio speaker in android.
  I tried </p>
  
  <pre><code>mAudioManager.setStreamSolo(AudioManager.STREAM_VOICE_CALL, true);
  </code></pre>
  
  <p>and </p>
  
  <pre><code>mAudioManager.setStreamMute(AudioManager.STREAM_MUSIC,true);
  </code></pre>
  
  <p>But it does not work.</p>