mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #11579 from Pokechu22/audio-stretching-label-enable
AudioPane: Fix inconsistent initial state of audio stretching labels
This commit is contained in:
commit
dfc0f12483
@ -247,8 +247,10 @@ void AudioPane::LoadSettings()
|
|||||||
|
|
||||||
// Stretch
|
// Stretch
|
||||||
m_stretching_enable->setChecked(Config::Get(Config::MAIN_AUDIO_STRETCH));
|
m_stretching_enable->setChecked(Config::Get(Config::MAIN_AUDIO_STRETCH));
|
||||||
|
m_stretching_buffer_label->setEnabled(m_stretching_enable->isChecked());
|
||||||
m_stretching_buffer_slider->setValue(Config::Get(Config::MAIN_AUDIO_STRETCH_LATENCY));
|
m_stretching_buffer_slider->setValue(Config::Get(Config::MAIN_AUDIO_STRETCH_LATENCY));
|
||||||
m_stretching_buffer_slider->setEnabled(m_stretching_enable->isChecked());
|
m_stretching_buffer_slider->setEnabled(m_stretching_enable->isChecked());
|
||||||
|
m_stretching_buffer_indicator->setEnabled(m_stretching_enable->isChecked());
|
||||||
m_stretching_buffer_indicator->setText(tr("%1 ms").arg(m_stretching_buffer_slider->value()));
|
m_stretching_buffer_indicator->setText(tr("%1 ms").arg(m_stretching_buffer_slider->value()));
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user