Qt: Add label next to audio buffer size

This commit is contained in:
Stenzek
2024-05-06 00:46:34 +10:00
parent aed2863d73
commit 7626a9bf9c
2 changed files with 41 additions and 29 deletions

View File

@ -259,6 +259,7 @@ void AudioSettingsWidget::updateLatencyLabel()
//: Preserve the %1 variable, adapt the latter ms (and/or any possible spaces in between) to your language's ruleset.
m_ui.outputLatencyLabel->setText(minimal_output ? tr("N/A") : tr("%1 ms").arg(config_output_latency_ms));
m_ui.bufferMSLabel->setText(tr("%1 ms").arg(config_buffer_ms));
const u32 output_latency_ms = minimal_output ?
AudioStream::GetMSForBufferSize(SPU::SAMPLE_RATE, m_output_device_latency) :