Saturday, February 8, 2014

Music player reverberation problem more songs


            
I made a music player that can read MP3 files, and lists come with a ListView. But there is a problem is that when I click on a song when playing this song, this song is not stopped, I spot another song, another song began to play, but before that song did not stop, or at play, which resulted in two songs while playing, resulting mix. Seeking solutions ideas ah! ! ! !
Reply:
Are you all every click, mPlayer = new MediaPlayer (); then play?

You should take the initiative to end the playing mplayer, free resources and re-give it URI, and then play the next song.
Reply:
Playback features added in front of the sentence:
media.reset ();
Reply:
cited a floor u012957731 reply:
if every time you click all, mPlayer = new MediaPlayer (); then play?

You should take the initiative to end the playing mplayer, free resources and re-give it URI, and then play the next song.

Before I set up in front of a judge sentence, but still does not work. But today I used the service to control this problem has been solved
Reply:
reference to the second floor shun_fzll reply:
playback features added in front of the sentence:
media.reset ();

Before I set up in front of a judge sentence, but still does not work. But today I used the service to control this problem has been solved

No comments:

Post a Comment