Commit 64db0339 authored by thrust26's avatar thrust26
Browse files

aligned preset naming to UI

parent 14b22d18
......@@ -1913,7 +1913,7 @@
<td><pre>-audio.preset &lt;1 - 5&gt;</pre></td>
<td>Set an audio preset. Numbers in sequence represent presets for
'custom', 'low quality, 'medium lag', 'high quality, medium lag',
'high quality, low lag' and 'very high quality, very low lag'.</td>
'high quality, low lag' and 'ultra quality, minimal lag'.</td>
</tr>
<tr>
......
......@@ -27,11 +27,11 @@ class AudioSettings
public:
enum class Preset {
custom = 1,
lowQualityMediumLag = 2,
highQualityMediumLag = 3,
highQualityLowLag = 4,
veryHighQualityVeryLowLag = 5
custom = 1,
lowQualityMediumLag = 2,
highQualityMediumLag = 3,
highQualityLowLag = 4,
ultraQualityMinimalLag = 5
};
enum class ResamplingQuality {
......
......@@ -203,7 +203,7 @@ bool SoundSDL2::toggleMute()
message += !enabled ? "unmuted" : "muted";
myOSystem.frameBuffer().showMessage(message);
return enabled;
}
......@@ -278,8 +278,8 @@ string SoundSDL2::about() const
case AudioSettings::Preset::highQualityLowLag:
buf << "High quality, low lag" << endl;
break;
case AudioSettings::Preset::veryHighQualityVeryLowLag:
buf << "Very high quality, very low lag" << endl;
case AudioSettings::Preset::ultraQualityMinimalLag:
buf << "Ultra quality, minimal lag" << endl;
break;
}
buf << " Fragment size: " << uInt32(myHardwareSpec.samples) << " bytes" << endl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment