mirror of
https://github.com/ShaYmez/xlxd.git
synced 2024-12-24 10:50:26 -05:00
Add comments
This commit is contained in:
parent
fe700f253b
commit
f01c44ed53
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user