title: SoundPool sound stops only once?
body: <p>I have a Sound class:</p>
  
  <pre><code>  package dubpad.brendan;
  
    import android.media.SoundPool;
  
      public class Sound {
     SoundPool soundPool;
      int soundID;
  
      public Sound(SoundPool soundPool, int soundID) {
          this.soundPool = soundPool;
          this.soundID = soundID;
      }
  
      public void play(float volume) {
          soundPool.play(soundID, volume, volume, 0, -1, 1);
      }
  
      public void stop(int soundID){
          soundPool.stop(soundID);
      }
  
  
      public void dispose() {
          soundPool.unload(soundID);
      }
  
  
      }
  </code></pre>
  
  <p>and I have an activity that extends a button :</p>
  
  <pre><code>package dubpad.brendan;
  
  import android.content.Context;
  import android.media.AudioManager;
  import android.media.SoundPool;
  import android.util.AttributeSet;
  
  import android.view.MotionEvent;
  import android.widget.Button;
  
  public class TestButton extends Button {
  SoundPool soundPool = new SoundPool(1, AudioManager.STREAM_MUSIC, 0);
  int soundID = soundPool.load(getContext(), R.raw.dub1, 0);
  Sound sound = new Sound(soundPool, soundID);
  
  
  public TestButton(final Context context, final AttributeSet attrs) {
      super(context, attrs);
      // TODO Auto-generated constructor stub
  }
  
  
  
  @Override
  public boolean onTouchEvent(final MotionEvent event) {
    if(event.getAction()==MotionEvent.ACTION_DOWN){
  sound.play(1);
  
  
   } 
  
  
  
  
  if(event.getAction()==MotionEvent.ACTION_UP){
  sound.stop(soundID);
  }
  
  
      return super.onTouchEvent(event);
  }
  
   }
  </code></pre>
  
  <p>On the first action down the sound plays, and on first action up the sound pauses. But every single action up after the 1st one doesn't pause the sound. In simple words, the pause only works once. </p>