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:
death2droid 2009-05-21 10:08:43 +00:00
parent cfb94849f9
commit ab6a38a18f

View File

@ -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()
{ {