Skip to content

A dynamic binding to libtheora for the D Programming Language.

Notifications You must be signed in to change notification settings

DerelictOrg/DerelictTheora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DerelictTheora

A dynamic binding to libtheora version 1.1 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 DerelictTheora and load libtheora at run time. In the meantime, here's some sample code.

// Import all of the libtheora modules
import derelict.theora;

/*
Alternatively, you can do the following:
import derelict.theora.codec;
import derelict.theora.theoraenc;
import derelict.theora.theoradec;
*/

void main() {
    // Load the libtheora codec library and its companion encoding and decoding libaries
    DerelictTheora.load();
    DerelictTheoraEnc.load();
    DerelictTheoraDec.load();

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

About

A dynamic binding to libtheora for the D Programming Language.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages