MediaPlayer doens't work properly
<p>In my app i added a sound when a button is clicked</p>

<p>This is the class that manages the sound</p>

<pre><code>public class GestoreSuoni{
MediaPlayer mp; 

    public void playSound(Context context,int sound){
         mp = MediaPlayer.create(context, sound);
         mp.start();        
    }
}
</code></pre>

<p>and in my main activity I  call the method playSound for all of my buttons </p>

<pre><code>button_name.setOnClickListener(new OnClickListener(){
    public void onClick(View arg0) {
        gestoreSuoni.eseguiSuono(getApplicationContext(),R.raw.tieni_suono);
    }               
});
</code></pre>

<p>At first it works, but after 20-30 clicks on my buttons, I can't hear sound anymore and i get this message from LogCat: Mediaplayer error (- 19,0).</p>

<p>What does is mean?</p>

<p>Thanks</p>
