From 5dc40e77349e450299d3d7e3228023761840cbc3 Mon Sep 17 00:00:00 2001 From: Sergiy G Date: Tue, 31 Oct 2017 13:38:00 +0200 Subject: Attenuate TII by 16dB as requested by spec --- src/TII.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/TII.cpp b/src/TII.cpp index 8a8bd86..4ed1a91 100644 --- a/src/TII.cpp +++ b/src/TII.cpp @@ -202,11 +202,11 @@ int TII::process(Buffer* dataIn, Buffer* dataOut) // setting exactly the same phase of the signal for lower adjacent // frequency if (m_enabled_carriers[i]) { - out[i] = m_conf.old_variant ? in[i+1] : in[i]; + out[i] = (m_conf.old_variant ? in[i+1] : in[i])/((float)48.0); } if (m_enabled_carriers[i+1]) { - out[i+1] = in[i+1]; + out[i+1] = in[i+1]/((float)48.0); } } } -- cgit v1.2.3