mirror of https://github.com/stella-emu/stella.git
aligned preset naming to UI (part 2)
This commit is contained in:
parent
64db033961
commit
2bc87ae51e
|
@ -28,7 +28,7 @@ namespace {
|
|||
{
|
||||
return (
|
||||
numericPreset >= static_cast<int>(AudioSettings::Preset::custom) &&
|
||||
numericPreset <= static_cast<int>(AudioSettings::Preset::veryHighQualityVeryLowLag)
|
||||
numericPreset <= static_cast<int>(AudioSettings::Preset::ultraQualityMinimalLag)
|
||||
) ? static_cast<AudioSettings::Preset>(numericPreset) : AudioSettings::DEFAULT_PRESET;
|
||||
}
|
||||
|
||||
|
@ -194,7 +194,7 @@ void AudioSettings::setPreset(AudioSettings::Preset preset)
|
|||
myPresetResamplingQuality = ResamplingQuality::lanczos_2;
|
||||
break;
|
||||
|
||||
case Preset::veryHighQualityVeryLowLag:
|
||||
case Preset::ultraQualityMinimalLag:
|
||||
myPresetSampleRate = 96000;
|
||||
myPresetFragmentSize = 128;
|
||||
myPresetBufferSize = 0;
|
||||
|
|
|
@ -77,7 +77,7 @@ AudioDialog::AudioDialog(OSystem& osystem, DialogContainer& parent,
|
|||
VarList::push_back(items, "Low quality, medium lag", static_cast<int>(AudioSettings::Preset::lowQualityMediumLag));
|
||||
VarList::push_back(items, "High quality, medium lag", static_cast<int>(AudioSettings::Preset::highQualityMediumLag));
|
||||
VarList::push_back(items, "High quality, low lag", static_cast<int>(AudioSettings::Preset::highQualityLowLag));
|
||||
VarList::push_back(items, "Ultra quality, minimal lag", static_cast<int>(AudioSettings::Preset::veryHighQualityVeryLowLag));
|
||||
VarList::push_back(items, "Ultra quality, minimal lag", static_cast<int>(AudioSettings::Preset::ultraQualityMinimalLag));
|
||||
VarList::push_back(items, "Custom", static_cast<int>(AudioSettings::Preset::custom));
|
||||
myModePopup = new PopUpWidget(this, font, xpos, ypos,
|
||||
font.getStringWidth("Ultry quality, minimal lag"), lineHeight,
|
||||
|
|
Loading…
Reference in New Issue