Hello, I would like to know how to call a more efficient sound? I'm using this method:
Button button1;
MediaPlyer mp;
button1 = (Button)findViewById(R.id.button1);
button1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
mp = MediaPlayer.create(Teste.this, R.raw.som);
mp.start();
}
});
And I'm in trouble, because it works, clicking several times has the time that the sound does not come out any more.