AXRmt function.
#include <revolution.h> // Are there 40 samples (or more) of audio data for the controller speaker that has been synthesized? if (40 <= AXRmtGetSamplesLeft()) { // Since there is enough data volume, the process continues. // Process for each of the four controllers. for (chan = 0; chan < 4; chan++) { // 40 samples of the audio data for the number chan controller is copied to the AudioBuffer[]. AXRmtGetSamples(chan, AudioBuffer[chan], 40); ... // Process the AudioBuffer[] data. } // Advance the pointer because the audio data for the controller speaker was obtained from the AX internal buffer. AXRmtAdvancePtr(40); }
2007/05/10 Revised the sample code.
2006/07/31 Initial version.
CONFIDENTIAL