OpenAL with ogg

Clay Smith clayasaurus at gmail.com
Fri Jul 6 10:05:38 PDT 2007


Christian Kamm wrote:
>> Best would be something that loads just one ogg-file from hdisk and
>> plays it, that would be enough for the beginning. It would help a lot if
>> you could add comments to the code so i can follow up what's happening.
>> A tutorial for D would help too.
> 
> If your main interest is just playing a sound and not learning the internals
> of OpenAL, you could try ArcLib's sound module:
> 
> http://www.dsource.org/projects/arclib/browser/trunk/arc/sound.d
> 
> It uses the Derelict bindings to OpenAL.
> 
> Christian

I don't know if this helps either, but this 
http://www.dsource.org/projects/yage/browser/trunk/src/yage/resource/sound.d 
is the code the above module is based upon, and this site 
http://www.devmaster.net/articles.php?catID=6 seems to have the best 
OpenAL tutorials.

~ Clay


More information about the Digitalmars-d-learn mailing list