diff --git a/src/ssb_stereo_coder.c b/src/ssb_stereo_coder.c index 9ff41d0..edf39fa 100644 --- a/src/ssb_stereo_coder.c +++ b/src/ssb_stereo_coder.c @@ -191,7 +191,7 @@ int main() { mpx[i] = mono * MONO_VOLUME + pilot * PILOT_VOLUME + - (usb-lsb)*STEREO_VOLUME; + (lsb-usb)*STEREO_VOLUME; } if (pa_simple_write(output_device, mpx, sizeof(mpx), NULL) < 0) {