LWJGL
May 21, 2012, 01:03:00
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.8.3 released!
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
OpenAL
>
Filetype Troubles
Pages: [
1
]
« previous
next »
Print
Author
Topic: Filetype Troubles (Read 2765 times)
Raelifin
Newbie
Posts: 6
Filetype Troubles
«
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
Re: Filetype Troubles
«
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
Re: Filetype Troubles
«
Reply #2 on:
June 04, 2007, 16:56:42 »
Thanks. It's working now. ^_^
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...