| 96 | } |
| 97 | |
| 98 | void __AXOutAiCallback(void) |
| 99 | { |
| 100 | if (__AXOutDspReady == 0) |
| 101 | { |
| 102 | __AXOsTime = OSGetTime(); |
| 103 | } |
| 104 | |
| 105 | if (__AXOutDspReady == 1) |
| 106 | { |
| 107 | __AXOutDspReady = 0; |
| 108 | __AXOutNewFrame(0); |
| 109 | } |
| 110 | else |
| 111 | { |
| 112 | __AXOutDspReady = 2; |
| 113 | DSPAssertTask(&__AXDSPTask); |
| 114 | } |
| 115 | |
| 116 | if (__AXOutputBufferMode == 1) |
| 117 | { |
| 118 | AIInitDMA((u32)__AXOutBuffer[__AXAiDmaFrame], 0x280); |
| 119 | __AXAiDmaFrame++; |
| 120 | __AXAiDmaFrame %= 3; |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | static void __AXDSPInitCallback(void* task) |
| 125 | { |
nothing calls this directly
no test coverage detected