The latency setting now appears only if there is at least one backend

that supports it.
This commit is contained in:
LAGonauta
2017-06-28 07:56:12 -03:00
parent 9e251206b2
commit e7f0279ffc
2 changed files with 46 additions and 15 deletions

View File

@ -26,6 +26,7 @@ private:
void BindEvents();
void PopulateBackendChoiceBox();
void CheckNeedForLatencyControl();
void ToggleBackendSpecificControls(const std::string& backend);
void OnDSPEngineRadioBoxChanged(wxCommandEvent&);
@ -50,4 +51,6 @@ private:
wxStaticText* m_stretch_label;
DolphinSlider* m_stretch_slider;
wxStaticText* m_stretch_text;
bool m_latency_control_supported;
};