Question about OpenAL library
I notice that many games are using OpenAL audio library, is it better than using DirectSound or XACT in DirectX games? OpenAL have more opportunities? Or it just made for easier programming? Is there are more audio librarys excluding mentioned above?
"better" I don't know. Code surely looks nicer than DirectSound (that isn't that difficult to achieve :P )
These are the bullet points for OpenAL:
- The API syntax will be familiar to OpenGL programmers
- It is multi-platform
- It is very well organized and oriented to 3D sound
For my software I went from DirectSound to OpenAL to XAudio2. I am not concerned in portability so that element of OpenAL does nothing to me, I have found the "software-only" (from Vista, Window's audio is all software based anyway) nature of XAudio2 and its coding style to be superior to the other solutions... but I would recomend OpenAL over DirectSound (IIRC MS is deprecating DS) always.
Stefano Casillo
TWITTER: [twitter]KunosStefano[/twitter]
AssettoCorsa - netKar PRO - Kunos Simulazioni
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement