Fix speed 2
Signed-off-by: Jan Hamal Dvořák <mordae@anilinux.org>
This commit is contained in:
parent
7a5bcadc23
commit
5dfc8cffbe
1 changed files with 4 additions and 2 deletions
|
@ -239,12 +239,14 @@ static int8_t mix(uint8_t a, uint8_t b)
|
|||
#if SPEED == 1
|
||||
for (int i = 4; i < 12; i++)
|
||||
accum += ab[i];
|
||||
|
||||
return accum >> 3;
|
||||
#else
|
||||
for (int i = 0; i < 16; i++)
|
||||
accum += ab[i];
|
||||
#endif
|
||||
|
||||
return accum >> 3;
|
||||
return accum >> 4;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void generate_mixer(void)
|
||||
|
|
Loading…
Reference in a new issue