mirror of
https://github.com/danog/tgvoip-test-suite.git
synced 2024-11-26 20:24:41 +01:00
Apply fixes from https://contest.com/voip-contest/entry1012
This commit is contained in:
parent
f979dc3dcb
commit
4daed0b0a3
@ -268,8 +268,8 @@ double Rater::finalRateWeight()
|
||||
{
|
||||
final = std::max(final - 1.25, 0.0);
|
||||
}
|
||||
|
||||
return final;
|
||||
|
||||
return ((final / 5.0) * 4.0) + 1.0;
|
||||
}
|
||||
void Rater::resample(int16_t *in, int16_t *out)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user