AIGetDMABytesLeft

Syntax

#include <revolution/ai.h>

u32 AIGetDMABytesLeft(void);

Arguments

None.

Return Values

The remaining amount of audio data (in bytes, always 32-byte aligned) without DMA being performed.

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

2006/03/01 Initial version.


CONFIDENTIAL