Add comments

pull/122/head
Geoffrey Merck 6 years ago committed by SASANO Takayoshi
parent 47dba197f4
commit 08602a8c4f

@ -48,11 +48,17 @@ CAGC::CAGC(float initialLeveldB)
m_Alpha = m_Bandwidth;
}
////////////////////////////////////////////////////////////////////////////////////////
// get
float CAGC::GetGain()
{
return 20.0f*log10(m_Gain);
}
////////////////////////////////////////////////////////////////////////////////////////
// process
void CAGC::Apply(uint8 * voice, int size)
{
for (int i = 0; i < size; i+=2)

@ -23,7 +23,7 @@
// ----------------------------------------------------------------------------
// Geoffrey Merck F4FXL / KC3FRA AGC code largely inspired by Liquid DSP
// Only took the parts we need qnd recoeded it to be close the XLX coding style
// https://github.com/jgaeddert/liquid-dsp/blob/master/src/agc/src/agc.c
// https://github.com/jgaeddert/liquid-dsp/blob/master/src/agc/src/agc.c
#ifndef cagc_h
#define cagc_h

Loading…
Cancel
Save

Powered by TurnKey Linux.