Revert parts of r5021, OpenAL also uses the Volume slider.

This now enables/disables the slider, depending on chosen Backend. Linux and OSX can now also use the slider to change the Volume of OpenAL. Other Backends do not support Volume changes.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5026 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
j4ck.fr0st
2010-02-07 14:51:12 +00:00
parent 7be712808a
commit fdcfade27a
4 changed files with 43 additions and 37 deletions

View File

@ -40,10 +40,8 @@ public:
private:
DECLARE_EVENT_TABLE();
#ifdef _WIN32
wxSlider *m_volumeSlider;
wxStaticText *m_volumeText;
#endif
wxButton *m_OK;
wxCheckBox *m_buttonEnableHLEAudio;
wxCheckBox *m_buttonEnableDTKMusic;
@ -65,9 +63,9 @@ private:
void OnOK(wxCommandEvent& event);
void SettingsChanged(wxCommandEvent& event);
#ifdef _WIN32
void VolumeChanged(wxScrollEvent& event);
#endif
bool SupportsVolumeChanges(std::string backend);
void BackendChanged(wxCommandEvent& event);
};
#endif //__DSP_HLE_CONFIGDIALOG_h__