QSound: fix echo

thanks superctr
This commit is contained in:
tildearrow 2022-02-27 00:46:23 -05:00
parent cf668aa6d4
commit 79c148849f

View file

@ -601,8 +601,8 @@ static void state_normal_update(struct qsound_chip *chip)
{
// Echo is output on the unfiltered component of the left channel and
// the filtered component of the right channel.
int32_t wet = (ch == 1) ? echo_output<<16 : 0;
int32_t dry = (ch == 0) ? echo_output<<16 : 0;
int32_t wet = (ch == 1) ? echo_output<<14 : 0;
int32_t dry = (ch == 0) ? echo_output<<14 : 0;
int32_t output = 0;
for(int v=0; v<19; v++)