title: Problems with supporting tablets and handsets simultaneously - sounds
body: <p>I offer a mute option in my application, again in the settings screen, but although this mutes <em>my</em> sound effects, any clickable items that are pressed on the tablet still get the default click sound. How do I also stop the system clicks from happening? This is my current playSound method which won't play my sound effects with mMute has been set.</p>
  
  <pre><code>    try {
          streamVolume = mAudioManager
             .getStreamVolume(AudioManager.STREAM_MUSIC);
      streamVolume = streamVolume
      / mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC);
      } catch (NullPointerException e) {
          Log.e(DEBUG_TAG, "Null pointer returned from audio manager");
      }
      Integer soundToPlay = mSoundPoolMap.get(sound);
      if (streamVolume != 0.0f &amp;&amp; soundToPlay != null &amp;&amp; !mMute) {
          mSoundPool.play(mSoundPoolMap.get(sound), 
              streamVolume, streamVolume,
              1, 0, 1.0f);
      } else {
          Log.e(DEBUG_TAG, sound.toString() + " not found in sound pool map");
      }
  
  }
  </code></pre>
  
  <p>Are there any other tips you can offer for sound handling in tablets? I assume that it's slightly different.</p>