We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c92efd6 commit fb84062Copy full SHA for fb84062
shared-module/audiomixer/Mixer.c
@@ -94,7 +94,8 @@ static inline uint32_t add16signed(uint32_t a, uint32_t b) {
94
__attribute__((always_inline))
95
static inline uint32_t mult16signed(uint32_t val, int32_t mul[2]) {
96
#if (defined(__ARM_ARCH_7EM__) && (__ARM_ARCH_7EM__ == 1))
97
- mul <<= 16;
+ mul[0] <<= 16;
98
+ mul[1] <<= 16;
99
int32_t hi, lo;
100
enum { bits = 16 }; // saturate to 16 bits
101
enum { shift = 15 }; // shift is done automatically
0 commit comments