From f2c4d264973db523a7e95ac92d34dbf0e16e44df Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Mon, 16 Sep 2024 09:18:56 +0200 Subject: [PATCH] ConverterSwitchLeftAndRight add missing ; --- src/AudioTools/BaseConverter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AudioTools/BaseConverter.h b/src/AudioTools/BaseConverter.h index ef8bb2392..a87977596 100644 --- a/src/AudioTools/BaseConverter.h +++ b/src/AudioTools/BaseConverter.h @@ -254,7 +254,8 @@ class ConverterSwitchLeftAndRight : public BaseConverter { T *sample = (T *)src; for (size_t j = 0; j < size; j++) { T temp = *sample; - *sample = *(sample + 1) * (sample + 1) = temp; + *sample = *(sample + 1); + *(sample + 1) = temp; sample += 2; } }