LWJGL
May 21, 2012, 01:03:00 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Filetype Troubles  (Read 2765 times)
Raelifin
Newbie
*
Posts: 6


« on: June 01, 2007, 16:09:15 »

Hello, I'm sorry if this is a stupid question, but I don't have much experience with OpenAL.

Can LWJGL, in conjunction with OpenAL load anything but wav files? I'm specifically trying to play an mp3.

Specific code examples of loading buffer data would be awesome.

Thanks,
  - Raelifin
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #1 on: June 01, 2007, 23:43:07 »

No. OpenAL only plays PCM. You need to decode it using one of the available libraries or play it through FMOD. I strongly advise NOT using MP3 but instead ogg/vorbis using the jorbis library.
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
Raelifin
Newbie
*
Posts: 6


« Reply #2 on: June 04, 2007, 16:56:42 »

Thanks. It's working now. ^_^
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!