#include <revolution/ax.h> s32 AXRmtGetSamples(s32 chan, s16* buffer, s32 samples);
| chan | Represents the controller number. |
|---|---|
| buffer | Pointer to the location that encoding data is to be retrieved. |
| samples | Represents the number of audio data requests (in units of samples). |
Returns the actual number of sets of audio data obtained.
The AXRmtGetSamples function copies the amount of audio data given by samples for the controller on the channel given by chan from the internal buffer of the AX library into buffer. If the data in the internal buffer is less than the amount given by samples, just those samples that can be used will be copied to buffer and returns the number that were actually copied.
None.
2006/07/31 Initial version.
CONFIDENTIAL