aligned preset naming to UI

This commit is contained in:
thrust26 2019-04-05 09:52:08 +02:00
parent 14b22d185b
commit 64db033961
3 changed files with 9 additions and 9 deletions

View File

@ -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>

View File

@ -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 {

View File

@ -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