Fix for stereo panning.

pull/112/head
Holger Wirtz 3 years ago
parent 109462f0b0
commit b9c59a9718
  1. 2
      effect_stereo_panorama.cpp

@ -69,7 +69,7 @@ inline float mapfloat(float val, float in_min, float in_max, float out_min, floa
void AudioEffectStereoPanorama::panorama(float p)
{
pan_r = mapfloat(p, 0.0, 1.0, -1.0, 1.0);
pan_l = pan_r * -1.0;
pan_l = mapfloat(p, 0.0, 1.0, 1.0, -1.0);
}
void AudioEffectStereoPanorama::update(void)

Loading…
Cancel
Save