Massage preset values.

This commit is contained in:
Christian Speckner 2018-06-25 00:42:40 +02:00
parent 5656051aae
commit 674e5f01c0
1 changed files with 6 additions and 6 deletions

View File

@ -172,24 +172,24 @@ void AudioSettings::setPreset(AudioSettings::Preset preset)
case Preset::lowQualityMediumLag:
myPresetSampleRate = 44100;
myPresetFragmentSize = 1024;
myPresetBufferSize = 4;
myPresetHeadroom = 3;
myPresetBufferSize = 6;
myPresetHeadroom = 5;
myPresetResamplingQuality = ResamplingQuality::nearestNeightbour;
break;
case Preset::highQualityMediumLag:
myPresetSampleRate = 44100;
myPresetFragmentSize = 1024;
myPresetBufferSize = 4;
myPresetHeadroom = 3;
myPresetBufferSize = 6;
myPresetHeadroom = 5;
myPresetResamplingQuality = ResamplingQuality::lanczos_2;
break;
case Preset::highQualityLowLag:
myPresetSampleRate = 48000;
myPresetFragmentSize = 512;
myPresetBufferSize = 2;
myPresetHeadroom = 1;
myPresetBufferSize = 3;
myPresetHeadroom = 2;
myPresetResamplingQuality = ResamplingQuality::lanczos_2;
break;