Skip to content

Commit

Permalink
mixer: fix pasto in mixer_ch_set_vol_dolby
Browse files Browse the repository at this point in the history
Now it's possible to drive the two surround channel correctly
  • Loading branch information
rasky committed Oct 4, 2023
1 parent 10d7bd0 commit d118174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/audio/mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ void mixer_ch_set_vol_dolby(int ch, float fl, float fr,
/// @endcond

mixer_ch_set_vol(ch,
fl*KFn + c*KCn - sl*KBn - sr*KBn,
fr*KFn + c*KCn + sl*KBn + sr*KBn
fl*KFn + c*KCn - sl*KAn - sr*KBn,
fr*KFn + c*KCn + sl*KBn + sr*KAn
);
}

Expand Down

0 comments on commit d118174

Please sign in to comment.