audio/balance_control.h file

Contents

Balance control of stereo sources, mainly used in the mixer channels.

Enums

enum BalanceControlAlgorithm { BALANCE_CONTROL_ALGORITHM_LINEAR }
See https://www.harmonycentral.com/articles/the-truth-about-panning-laws.

Typedefs

using BalanceControlAlgorithm = enum BalanceControlAlgorithm
See https://www.harmonycentral.com/articles/the-truth-about-panning-laws.

Functions

void balance_control_get_calc_lr(BalanceControlAlgorithm algo, float pan, float* calc_l, float* calc_r)
Returns the coefficients to multiply the L and R signal with.