mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinQt: Minor consistency fixes for the Settings window
This commit is contained in:
@ -87,8 +87,9 @@ void AudioPane::CreateWidgets()
|
||||
m_latency_spin = new QSpinBox();
|
||||
m_latency_spin->setMinimum(0);
|
||||
m_latency_spin->setMaximum(200);
|
||||
m_latency_spin->setToolTip(tr("Sets the latency (in ms). Higher values may reduce audio "
|
||||
"crackling. Certain backends only."));
|
||||
m_latency_spin->setToolTip(
|
||||
tr("Sets the latency in milliseconds. Higher values may reduce audio "
|
||||
"crackling. Certain backends only."));
|
||||
}
|
||||
|
||||
m_dolby_pro_logic->setToolTip(
|
||||
@ -401,7 +402,7 @@ void AudioPane::OnEmulationStateChanged(bool running)
|
||||
void AudioPane::OnVolumeChanged(int volume)
|
||||
{
|
||||
m_volume_slider->setValue(volume);
|
||||
m_volume_indicator->setText(tr("%1 %").arg(volume));
|
||||
m_volume_indicator->setText(tr("%1%").arg(volume));
|
||||
}
|
||||
|
||||
void AudioPane::CheckNeedForLatencyControl()
|
||||
@ -431,13 +432,13 @@ QString AudioPane::GetDPL2ApproximateLatencyLabel(AudioCommon::DPL2Quality value
|
||||
switch (value)
|
||||
{
|
||||
case AudioCommon::DPL2Quality::Lowest:
|
||||
return tr("Latency: ~10ms");
|
||||
return tr("Latency: ~10 ms");
|
||||
case AudioCommon::DPL2Quality::Low:
|
||||
return tr("Latency: ~20ms");
|
||||
return tr("Latency: ~20 ms");
|
||||
case AudioCommon::DPL2Quality::Highest:
|
||||
return tr("Latency: ~80ms");
|
||||
return tr("Latency: ~80 ms");
|
||||
default:
|
||||
return tr("Latency: ~40ms");
|
||||
return tr("Latency: ~40 ms");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user