I'm currently trying to port some code to OpenAL but I'm having a few problems.

I want to write generated data into a sound buffer. It works when using snd_buffer(...); but I don't know how to use the OpenAL-equivalent asnd_buffer(...);.

snd_buffer(); gives access to the sound data aswell as the DSBUFFERDESC (which is used in DirectSound8) but I don't know how to set the same parameters using asnd_buffer();.
In the manual I can't find anything about OpenAL and the header file (ackoal.h) doesn't help either (which is the reason why I'm asking here).

So how exactly does it work or is there some kind of documentation I can look up?


POTATO-MAN saves the day! - Random