I have a Java-based MP3 player based on the JLayer / BasicPlayer framework which I'd like to get running on the Pi. I have installed the OpenJDK on the most current Raspbian. The BasicPlayer opens the line correctly, but only get stuttering noise when playing back a file.
Playing back sound using the mpg123 command line tool works fine.
Is there something wrong with the Java Sound implementation of the ARM OpenJDK?
I'm thankful for any hints in the right direction.
This is the code:
BasicPlayer pl = new BasicPlayer();
try {
String path = "/home/pi/Music/testmp3.mp3";
File file = new File(path);
pl.open(file);
pl.play();
} catch (Exception e) {
CubeLog.logException(e);
}
Thanks.
mp3
decoding would be taking place in software. I seriously doubt the Pi would be capable enough to do that. – Jivings Jul 29 '12 at 21:23