My mediaplayer doesn't "loop" well
<p>I have a class that extends Service, where i have a MediaPlayer that manages the background music of my app.</p>

<pre><code>MediaPlayer player = MediaPlayer.create(this, R.raw.background_music);
player.setLooping(true); 
</code></pre>

<p>The problem is that it doens't "loop" well: I mean, when the mp3 file ends, there's a second of silence before it starts again.
But, in the mp3 file, actually, there's not any second of silence.</p>

<p>How can i solve this problem?</p>
