diff options
author | Kurausukun <lord.uber1@gmail.com> | 2021-05-25 21:11:12 -0400 |
---|---|---|
committer | Kurausukun <lord.uber1@gmail.com> | 2021-05-25 21:11:12 -0400 |
commit | 5a67295b8b1786a603b9fa948583da24e696b5f9 (patch) | |
tree | d5592af07c3d305b6c6486b2432432d5b8423c96 | |
parent | 19f19e995a5f0c69d690165068ff28afa1fd1568 (diff) |
Updated Implementing ipatix's High Quality Audio Mixer (markdown)
-rw-r--r-- | Implementing-ipatix's-High-Quality-Audio-Mixer.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Implementing-ipatix's-High-Quality-Audio-Mixer.md b/Implementing-ipatix's-High-Quality-Audio-Mixer.md index 3be3d8a..8dc35cc 100644 --- a/Implementing-ipatix's-High-Quality-Audio-Mixer.md +++ b/Implementing-ipatix's-High-Quality-Audio-Mixer.md @@ -108,9 +108,9 @@ We can fix this very easily by using the `STMIA` instruction for DMA register wr - dmaRegs[1] = (vu32)(dest); \ - dmaRegs[2] = (vu32)(control); \ - dmaRegs[2]; \ -+ register uint32_t r_src asm("r0") = (uint32_t)src; \ -+ register uint32_t r_dst asm("r1") = (uint32_t)dest; \ -+ register uint32_t r_ctl asm("r2") = (uint32_t)control; \ ++ register u32 r_src asm("r0") = (u32)src; \ ++ register u32 r_dst asm("r1") = (u32)dest; \ ++ register u32 r_ctl asm("r2") = (u32)control; \ + asm volatile("stmia %0!, {%1, %2, %3}" : "+l" (dmaRegs) : "l" (r_src), "l" (r_dst), "l" (r_ctl) : "memory"); \ } ``` |