Audio Library (AX) API

Introduction

Wii audio library (AX) provides an environment for manipulating the audio subsystem.

AX System Initialization

To use the AX library, follow the procedure below.

Examples

The following is a simplified sample code for using the AX library.

#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

2007/10/02 Revised the entire document after changes to the structure of function reference.
2006/03/01 Initial version.


CONFIDENTIAL