mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 00:56:48 +02:00
fix some indentation is audio mixer cutoff code
This commit is contained in:
parent
4661553acb
commit
75bc640104
1 changed files with 2 additions and 2 deletions
|
@ -399,7 +399,7 @@ void AudioMixer::run() {
|
|||
audabilityCutoffRatio += (1.0f - audabilityCutoffRatio) / 2.0f;
|
||||
|
||||
qDebug() << "Mixer is struggling, sleeping" << _trailingSleepRatio * 100 << "% of frame time. Old cutoff was"
|
||||
<< lastCutoffRatio << "and is now" << audabilityCutoffRatio;
|
||||
<< lastCutoffRatio << "and is now" << audabilityCutoffRatio;
|
||||
hasRatioChanged = true;
|
||||
} else if (_trailingSleepRatio >= BACK_OFF_TRIGGER_SLEEP_PERCENTAGE_THRESHOLD && audabilityCutoffRatio != 0) {
|
||||
// we've recovered and can back off the required loudness
|
||||
|
@ -410,7 +410,7 @@ void AudioMixer::run() {
|
|||
}
|
||||
|
||||
qDebug() << "Mixer is recovering, sleeping" << _trailingSleepRatio * 100 << "% of frame time. Old cutoff was"
|
||||
<< lastCutoffRatio << "and is now" << audabilityCutoffRatio;
|
||||
<< lastCutoffRatio << "and is now" << audabilityCutoffRatio;
|
||||
hasRatioChanged = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue