views:

659

answers:

1

I am trying to make some games and an important part of them is audio.

So far, SDL_Mixer seems great but lacks the Mix_SetMusicPosition equivalent for channels. As a result, I tried OpenAL.

But I have a problem with OpenAL too. OpenAL seems way more complex than SDL_Mixer. Besides, the ALUT function for loading Wave files is deprecated, so I assume developers are not supposed to use it for new code(I assume that is the definition of deprecation).

Does anyone know good links for easy and simple tutorials on how to get started with OpenAL and a brief overview of how it works, along with how to play WAV with it? Also, after the basics have been covered, I'd love to see how to change the buffer position...

+1  A: 

OpenAL basics are described quite nicely in the OpenAL Programmer’s Guide (see example on page 10). I won’t help you with loading the WAV though.

zoul