Lanbo
Lanbo

Reputation: 15692

LWJGL and Ogg/Mp3

I want to ask for resources on how to load ogg/mp3 files and play them using the OpenAL facilities in LWJGL. The problem is

Googling for this lead to three pages of Minecraft error questions. So, can anyone hint me here?

Upvotes: 4

Views: 1926

Answers (3)

sandspro
sandspro

Reputation: 72

Why not use openal with slick and lwjgl? It provides support for aif mp3 wav ogg. There are tutorials on the lwjgl wiki.

Upvotes: 0

user500592
user500592

Reputation:

There's JOrbis (http://www.jcraft.com/jorbis/) which is pure Java and used by the jmonkeyengine.org project to handle ogg playback.

Upvotes: 3

Thomas Mueller
Thomas Mueller

Reputation: 50107

There is a pure java solution to play mp3 files or convert them to wav. However it might be simpler to use ogg.

Upvotes: 0

Related Questions