winecfg: Add a button for audio test.

This commit is contained in:
Steven Edwards 2007-04-03 16:09:02 -04:00 committed by Alexandre Julliard
parent ec30f6de30
commit 8c62cbfa4e
3 changed files with 16 additions and 11 deletions

View File

@ -162,7 +162,8 @@ BEGIN
GROUPBOX " Driver Selection ",IDC_STATIC,8,4,244,195
LTEXT "Select a sound driver by checking the box of the desired driver. Disable sound by not selecting any driver. Selection of multiple drivers is not recommended. Configure a driver by right-clicking on it.",IDC_STATIC,15,20,227,30
CONTROL "Devices",IDC_AUDIO_TREE,"SysTreeView32",WS_BORDER | WS_TABSTOP,15,50,140,140
PUSHBUTTON "Control Panel",IDC_AUDIO_CONTROL_PANEL,170,50,59,14
PUSHBUTTON "Test Sound",IDC_AUDIO_TEST,170,50,59,14
PUSHBUTTON "Control Panel",IDC_AUDIO_CONTROL_PANEL,170,70,59,14
GROUPBOX " DirectSound ",IDC_STATIC,8,205,244,60
LTEXT "Hardware Acceleration: ",IDC_STATIC,15,215,90,10
COMBOBOX IDC_DSOUND_HW_ACCEL,100,213,150,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP

View File

@ -731,6 +731,9 @@ AudioDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
case IDC_AUDIO_CONFIGURE:
configureAudioDriver(hDlg);
break;
case IDC_AUDIO_TEST:
MessageBox(NULL, "Audio Test not implemented yet!", "Fixme", MB_OK | MB_ICONERROR);
break;
case IDC_AUDIO_CONTROL_PANEL:
MessageBox(NULL, "Launching audio control panel not implemented yet!", "Fixme", MB_OK | MB_ICONERROR);
break;

View File

@ -159,16 +159,17 @@
/* audio tab */
#define IDC_AUDIO_CONFIGURE 1300
#define IDC_AUDIO_CONTROL_PANEL 1301
#define IDC_DSOUND_HW_ACCEL 1302
#define IDC_DSOUND_DRV_EMUL 1303
#define IDC_AUDIO_TREE 1304
#define IDR_WINECFG 1305
#define IDB_CHECKBOX 1306
#define IDB_DEVICE 1307
#define IDS_AUDIO_MISSING 1308
#define IDC_DSOUND_RATES 1309
#define IDC_DSOUND_BITS 1310
#define IDC_AUDIO_TEST 1301
#define IDC_AUDIO_CONTROL_PANEL 1302
#define IDC_DSOUND_HW_ACCEL 1303
#define IDC_DSOUND_DRV_EMUL 1304
#define IDC_AUDIO_TREE 1305
#define IDR_WINECFG 1306
#define IDB_CHECKBOX 1307
#define IDB_DEVICE 1308
#define IDS_AUDIO_MISSING 1309
#define IDC_DSOUND_RATES 1310
#define IDC_DSOUND_BITS 1311
#define IDS_ACCEL_FULL 8300
#define IDS_ACCEL_STANDARD 8301
#define IDS_ACCEL_BASIC 8302