Home

Awesome

DerelictAL

A dynamic binding to OpenAL for the D Programming Language.

Please see the sections on Compiling and Linking and The Derelict Loader, in the Derelict documentation, for information on how to build DerelictAL and load OpenAL at run time. In the meantime, here's some sample code.

import derelict.openal.al;

void main() {
    // Load the OpenAL library.
    DerelictAL.load();

    // Now OpenAL functions can be called.
    ...
}