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
|
||||
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__
|
||||
m_BackendSelection->SetValue(wxString::FromAscii(ac_Config.sBackend));
|
||||
#else
|
||||
m_BackendSelection->SetValue(wxString::FromAscii(ac_Config.sBackend.c_str()));
|
||||
#endif
|
||||
}
|
||||
// Unfortunately, DSound is the only API having a volume setting...
|
||||
#ifndef _WIN32
|
||||
m_volumeSlider->Disable();
|
||||
m_volumeText->Disable();
|
||||
#endif
|
||||
|
||||
DSPConfigDialogLLE::~DSPConfigDialogLLE()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue