title: Android's SoundPool not playing any sound
body: <p>I have tried everithing to make this work. The Android's SoundPool class is loading the .ogg audio file (tested), but it doesn't play.
  For some strange reason i can't manage to get this working. I have followed many tutorials and forums on the matter, and still can't get it working.</p>
  
  <p>Here's my code:</p>
  
  <p>As Global variables:</p>
  
  <pre><code> SoundPool soundPool;
   boolean ya = false;
  </code></pre>
  
  <p>On my Activity's onCreate:</p>
  
  <pre><code>   this.setVolumeControlStream(AudioManager.STREAM_MUSIC);    
     if(Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.LOLLIPOP){
                  soundPool = new SoundPool.Builder()
                  .setMaxStreams(15)
                  .build();
      }else{
          soundPool = new SoundPool(15, AudioManager.STREAM_MUSIC, 0);
      }
  
      soundPool.setOnLoadCompleteListener(new SoundPool.OnLoadCompleteListener() {
          @Override
          public void onLoadComplete(SoundPool sp, int sampleId, int status) {
              ya = true;
          }
      });     
      soundPool.load(this, R.raw.explosion_1, 1);
  </code></pre>
  
  <p>Finally, on the onClick method of one of my buttons:</p>
  
  <pre><code>public void instructions(View v){
      if(ya){
          soundPool.play(R.raw.explosion_1, 0.99f, 0.99f, 1, 0, 0.99f);
      }
  }
  </code></pre>
  
  <p>Please help.</p>