AXInit() to initialize AX.
AXSetMode() to run AX in stereo, surround, or Dolby Pro Logic® II mode. Default mode is stereo.
AXSetCompressor() to switch the output compressor on or off. Default is on.
AXRegisterCallback() to register application designed service routine for each audio frame.
AXQuit() to shutdown AX.
#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 }
03/01/2006 Initial version.