Hello, I wrote a MP3 player ... that starts the play but repeats the same note continuously, without moving forward.
Meaning, it starts fine but again & again playing the started tone like, 123333333333
Any ideas ? pl help .. Here's the code snippet:
InputStream is = mainScr.getIS (currDirName+curFile);
String ctype = "audio/mpeg";
player = Manager.createPlayer(is, ctype);
VolumeControl vc = (VolumeControl) player.getControl("VolumeControl");
if(vc != null)
{
vc.setLevel(100);
}
player.setLoopCount (-1);
player.realize ();
player.prefetch();
player.addPlayerListener (this);
player.start ();

Reply With Quote





