OpenGL is an Open Graphics Library, you don't use it to create audio.
OpenAL[
^] is an Open Audio Library, and it is something you can use to do audio.
OpenAL Soft[
^] is a cool implementation of the standard that is open.
It's related to OpenGL in the sense that it's a 3D audio API and OpenGL is (often) used to do 3D graphics, but they're two separate things doing different things.
Using GIT you can clone the OpenAL Sift repository from and you'll find example code in there.
Hope this helps,
Fredrik