1 #pragma once
2 
3 // AudioCoreSettingsDlg dialog
4 
5 class AudioCoreSettingsDlg : public CDialog
6 {
7 	DECLARE_DYNAMIC(AudioCoreSettingsDlg)
8 
9 public:
10 	bool m_enabled;
11 	bool m_surround;
12 	bool m_declicking;
13 	bool m_sound_interpolation;
14 	float m_echo;
15 	float m_stereo;
16 	float m_volume;
17 	float m_sound_filtering;
18 	unsigned int m_sample_rate;
19 
20 	AudioCoreSettingsDlg(CWnd* pParent = NULL);   // standard constructor
21 	virtual ~AudioCoreSettingsDlg();
22 
23 	virtual BOOL OnInitDialog();
24 	virtual BOOL PreTranslateMessage(MSG* pMsg);
25 	afx_msg void OnBnClickedDefaultVolume();
26 
27 // Dialog Data
28 	enum { IDD = IDD_AUDIO_CORE_SETTINGS };
29 
30 protected:
31 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
32 	afx_msg BOOL OnTtnNeedText(UINT id, NMHDR *pNMHDR, LRESULT *pResult); // Retrieve text for ToolTip
33 
34 	DECLARE_MESSAGE_MAP()
35 
36 private:
37 	CButton enhance_sound;
38 	CButton surround;
39 	CButton declicking;
40 	CButton sound_interpolation;
41 	CSliderCtrl echo;
42 	CSliderCtrl stereo;
43 	CSliderCtrl volume;
44 	CSliderCtrl sound_filtering;
45 	CToolTipCtrl *toolTip;
46 	CComboBox sample_rate;
47 };
48