title: Andengine problems with music in the game
body: <p>I write some code in response when my player is hit by the monster in my game. when monster hit my player, it will shout. </p>
  
  <p>It is fine at begin but when the sound plays too much time or too frequently, the sound shut down and so as my background music. Can any one help me about this. </p>
  
  <p>Here is my code about the shout sound:</p>
  
  <pre><code>public void createMusic()
  {
  
      try {
          MusicFactory.setAssetBasePath("mfx/");
          wallmusic = MusicFactory.createMusicFromAsset(engine.getMusicManager(), activity, "speed.ogg");
          wallmusic.setLooping(false);
  
      } catch (final IOException e) {
          Debug.e(e);
      }   
        if (!wallmusic.isPlaying()){
        wallmusic.seekTo(0); 
        wallmusic.play(); 
        }
  }
  </code></pre>
  
  <p>and the log says:</p>
  
  <p>05-11 18:32:22.844: E/MediaPlayer(29575): error (-19,0)</p>
  
  <p>05-11 18:32:22.844: E/MediaPlayer(29575): Error (-19,0)</p>
  
  <p>05-11 18:32:22.844: E/MediaPlayer(29575): pause called in state 0</p>
  
  <p>05-11 18:32:22.844: E/MediaPlayer(29575): error (-38,0)</p>
  
  <p>05-11 18:32:22.844: E/MediaPlayer(29575): Error (-38,0)</p>
  
  <p>How do I fix this problem?</p>