Add comments

This commit is contained in:
Geoffrey Merck 2020-01-29 20:02:03 +01:00
parent fe700f253b
commit f01c44ed53
2 changed files with 7 additions and 1 deletions

View File

@ -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)