AIGetDMABytesLeft

C Specification

#include <revolution.h>
u32 AIGetDMABytesLeft(void);

Arguments

None.

Return Values

The amount of audio data (in bytes, always 32-byte aligned) that the DMA has not yet transferred.

Description

The AIGetDMABytesLeft function returns the amount of audio data left in the audio buffer that is currently outputted to the AI and has not yet been transferred by the DMA. Measured in bytes, this data is aligned on a 32-byte boundary--the same as the DMA block size.

See Also

AIInitDMA

Revision History

03/01/2006 Initial version.