blob: 5787f10e3363b09a0dc6c5af8ff393dc6ec6a037 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "ultra64.h"
/**
* Returns the number of bytes remaining in a currently ongoing audio DMA.
*
* Note that audio DMA is double-buffered, a DMA can be queued while another is in-progress. This only returns
* information about the currently in-progress DMA.
*/
u32 osAiGetLength(void) {
return IO_READ(AI_LEN_REG);
}
|