mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Fix of the volume slider in LLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3266 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
cfb94849f9
commit
ab6a38a18f
@ -92,17 +92,18 @@ void DSPConfigDialogLLE::AddBackend(const char* backend)
|
|||||||
// Update value
|
// Update value
|
||||||
m_BackendSelection->Append(wxString::FromAscii(backend));
|
m_BackendSelection->Append(wxString::FromAscii(backend));
|
||||||
|
|
||||||
|
// Unfortunately, DSound is the only API having a volume setting...
|
||||||
|
#ifndef _WIN32
|
||||||
|
m_volumeSlider->Disable();
|
||||||
|
m_volumeText->Disable();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
m_BackendSelection->SetValue(wxString::FromAscii(ac_Config.sBackend));
|
m_BackendSelection->SetValue(wxString::FromAscii(ac_Config.sBackend));
|
||||||
#else
|
#else
|
||||||
m_BackendSelection->SetValue(wxString::FromAscii(ac_Config.sBackend.c_str()));
|
m_BackendSelection->SetValue(wxString::FromAscii(ac_Config.sBackend.c_str()));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
// Unfortunately, DSound is the only API having a volume setting...
|
|
||||||
#ifndef _WIN32
|
|
||||||
m_volumeSlider->Disable();
|
|
||||||
m_volumeText->Disable();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
DSPConfigDialogLLE::~DSPConfigDialogLLE()
|
DSPConfigDialogLLE::~DSPConfigDialogLLE()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user