From d68157380325c038cf2fd9a12f7b358b3ccc15bb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 24 Mar 2021 01:05:43 -0700 Subject: Fix a comment typo --- utils/uhjdecoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/uhjdecoder.cpp') diff --git a/utils/uhjdecoder.cpp b/utils/uhjdecoder.cpp index 19977234..721481a3 100644 --- a/utils/uhjdecoder.cpp +++ b/utils/uhjdecoder.cpp @@ -319,7 +319,7 @@ void allpass_process(al::span dst, const float *RESTRICT src) * * where j is a +90 degree phase shift. 3-channel UHJ excludes Q/Z. * - * NOTE: Some souces specify + * NOTE: Some sources specify * * S = (Left + Right)/2 * D = (Left - Right)/2 @@ -422,7 +422,7 @@ void UhjDecoder::decode(const float *RESTRICT InSamples, { /* W = 0.981530*S + 0.197484*j(0.828347*D + 0.767835*T) */ woutput[i] = 0.981530f*mS[i] + 0.197484f*xoutput[i]; - /* 0.418504*S - j(0.828347*D + 0.767835*T) */ + /* X = 0.418504*S - j(0.828347*D + 0.767835*T) */ xoutput[i] = 0.418504f*mS[i] - xoutput[i]; } -- cgit v1.2.3