diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2021-03-24 01:05:43 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2021-03-24 04:34:01 -0700 |
commit | d68157380325c038cf2fd9a12f7b358b3ccc15bb (patch) | |
tree | de1bb86877fad594262148d31f02ee81446ddfb3 /utils | |
parent | d732a8831e9f7f4edcb19a0a39d785fe84e7fc16 (diff) |
Fix a comment typo
Diffstat (limited to 'utils')
-rw-r--r-- | utils/uhjdecoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<float> 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]; } |