import javazoom.jl.player.Player;
import java.io.FileInputStream;

public class TestMP3Player {


	public static void main(String[] args) 
		throws javazoom.jl.decoder.JavaLayerException, java.io.FileNotFoundException
	{
		
		FileInputStream foo = new FileInputStream("C:\\foobar.mp3");
		Player bar = new Player(foo);	
		for (int i = 0; i < 100; i ++) {
			bar.play(i);
			bar.getPosition();
		}
	}
	

}
