Skip to content

Dynamic bindings to libvorbis for the D Programming Language.

Notifications You must be signed in to change notification settings

PolyplexEngine/DerelictVorbis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DerelictVorbis

A dynamic binding to libvorbis version 1.3 for the D Programming Language.

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

import derelict.vorbis.vorbis;
import derelict.vorbis.enc;
import derelict.vorbis.file;

void main() {
    // Load the libvorbis library and its companion encoding and file libaries.
    import derelict.vorbis;

    /* Alternatively:
    import derelict.vorbis.codec,
           derelict.vorbis.enc,
           derelict.vorbis.file;
    */
    DerelictVorbis.load();
    DerelictVorbisEnc.load();
    DerelictVorbisFile.load();

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

About

Dynamic bindings to libvorbis for the D Programming Language.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • D 100.0%