mirror of https://github.com/stella-emu/stella.git
aligned preset naming to UI
This commit is contained in:
parent
14b22d185b
commit
64db033961
|
@ -1913,7 +1913,7 @@
|
|||
<td><pre>-audio.preset <1 - 5></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
|
||||
|
|
Loading…
Reference in New Issue