title: error -19,0 from using Mediaplayer?
body: <pre><code>E/MediaPlayer(20473): error (-19, 0)
  
  I/MyApp   (20473): Decoding lala.mp3
  
  I/StagefrightPlayer(   68): setDataSource('mypath')
  
  E/AudioFlinger(   68): no more track names available
  
  E/AudioTrack(   68): AudioFlinger could not create track, status: -12
  
  E/AudioSink(   68): Unable to create audio track
  </code></pre>
  
  <p>Does any1 know why i'm getting this? This usually happens after playing about 100+ of so audio files using mediaPLayer. I'm playing it like this</p>
  
  <pre><code>public RenderResultFormat DoIt() {
     if(mp!=null){
           mp.release();
           mp = null;
       }
  AudioRenderer mr = new AudioRenderer(); mp = mr.AudioRenderer(filePath);}   
  
  
  
  private class AudioRenderer extends Activity {
      private MediaPlayer AudioRenderer(String filePath) {
  //delcare mediaplayer variables, path etc
    mp= MediaPlayer.create(this, path);
   if(mp != null){  
     int duration = mp.getDuration();
                  mp.start();
                  try {
                      Thread.sleep(duration);
                  } catch (InterruptedException e2) {
                      e2.printStackTrace();
                      System.out.println("I've been interrupted &gt;:(");
                  }
                  }
  }return mp;}
  </code></pre>
  
  <p>Am i missing something? Quite new to android development. Thank you</p>