AX System Initialization

Overview

Example

#include <revolution.h>

void audioFrameCallback(void)
{
    // run frame based audio apps here (mixer, sequencer, synth... etc.)
}

void main(void)
{
    ...       // other initializations

    AXInit();
    AXRegisterCallback(&audioFrameCallback);

    while(1)
    {   
    ...   // game loop
    }

    AXQuit();

    ...        // other shutdown
}

Revision History

03/01/2006 Initial version.