Login  Register

Re: GLMediaPlayer not playing short MP3 files

Posted by gouessej on Jan 22, 2015; 2:16pm
URL: https://forum.jogamp.org/GLMediaPlayer-not-playing-short-MP3-files-tp4033889p4033898.html

You can implement a codec for Paul Lamb Sound Library to support MP3 by using JLayer:
http://www.javazoom.net/javalayer/javalayer.html

However, it's not a trivial task.

Edit.: It's possible to use the JLayer MP3 SPI to get the raw data (byte[]) and pass it to SoundSystem.loadSound().
Julien Gouesse | Personal blog | Website