title: SoundPool not playing after 3 second of opening my activity
body: <p>I am trying  to play a sound when a user clicks on a button, This works well if I click the button wothin the first 3-5 seconds of when the activity is open however if I wait more then 3-5 seconds there is no sound. I am also not getting any error regarding the sound....</p>
  
  <p>Any ideas would be appriciated!</p>
  
  <p>UPDATE: This is happening only on my HTC. If I try this on a Samsung Galaxy S 2 it works fine!!!!</p>
  
  <p>In my logcat is says: "AudioHardwareQSD: AudioHardware pcm playback is going to standby" any workaround for this???</p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState)
  {
  
      mSoundPoolMap = new HashMap&lt;Integer, Integer&gt;();
      mSoundPool = new SoundPool(16, AudioManager.STREAM_RING, 0);
      mAudioManager= (AudioManager) mcontext.getSystemService(Context.AUDIO_SERVICE);
  
      mSoundPoolMap.put(1, mSoundPool.load(mcontext, R.raw.tap, 1));}
  
  
  
         @Override
          public void onClick(View v)
          {   
              float streamVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_RING);
              streamVolume = streamVolume / mAudioManager.getStreamMaxVolume(AudioManager.STREAM_RING);
              mSoundPool.play(mSoundPoolMap.get(1), streamVolume, streamVolume, 1, 0, 1);}
  </code></pre>