sound file formats in OpenAL
What formats can OpenAL play, other than wav?
If there arent any other or they dont have good compression how can I load other files and play them with OpenAL?
thanks
If there arent any other or they dont have good compression how can I load other files and play them with OpenAL?
thanks
Sir, e^iπ + 1 = 0, hence God exists; reply!
unknown Wrote:What formats can OpenAL play, other than wav?
Just look at the documentation on http://www.openal.org
Oh thanks I hadn't found that yet.
Sir, e^iπ + 1 = 0, hence God exists; reply!
OpenAL doesn't know anything about file formats any more than OpenGL does. It accepts uncompressed audio data in a bunch of formats. It's up to you to load the file, decompress it, and send it to AL, just as is the case with textures in OpenGL.
alutLoadWAVFile is not a part of AL proper, and is gone in OpenAL 1.1.
alutLoadWAVFile is not a part of AL proper, and is gone in OpenAL 1.1.
Right Im going to have to get ogg vorbis to work then
Ill be doing that tommorow though...
And once its done ill post it on the wiki
Ill be doing that tommorow though...
And once its done ill post it on the wiki
Sir, e^iπ + 1 = 0, hence God exists; reply!
this works great for me. In five-ten minutes I had everything setup and working perfectly, the only thing I changed was using SDL for endian checking.
Yes!!!!!
Endian, OMG, thats why it was loading instantly and giving me random noise!
All is not lost, my soul returns.
thank you lightbringer, time to implement this into my game before sleep...
Endian, OMG, thats why it was loading instantly and giving me random noise!
All is not lost, my soul returns.
thank you lightbringer, time to implement this into my game before sleep...
Sir, e^iπ + 1 = 0, hence God exists; reply!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| File formats | qwsed | 10 | 7,730 |
Dec 18, 2010 10:49 AM Last Post: AnotherJake |
|
| OpenAL looping sound problem | Gillissie | 0 | 3,056 |
Sep 16, 2010 12:31 AM Last Post: Gillissie |
|
| OpenAL - sound disappearing | Madrayken | 3 | 3,904 |
Jan 19, 2010 03:22 AM Last Post: Madrayken |
|
| OpenAL - Varying Pitch (for an engine sound) | SethWillits | 4 | 7,453 |
Aug 17, 2009 06:29 AM Last Post: FrazAli |
|
| internal formats. What are they good for? | WhatMeWorry | 2 | 3,272 |
Jan 9, 2007 11:58 PM Last Post: arekkusu |
|

