blob: aadf8916ab2faad9496a2156a7b2a73d9ae8090b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "PR/rcp.h"
// TODO: this comes from a header
#ident "$Revision: 1.17 $"
/**
* 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);
}
|