winecfg: Implement audio test.

This commit is contained in:
EA Durbin 2007-09-25 00:00:35 -05:00 committed by Alexandre Julliard
parent 000736ae11
commit 70c20d7d4e
4 changed files with 6 additions and 1 deletions

View File

@ -730,7 +730,8 @@ AudioDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
configureAudioDriver(hDlg);
break;
case IDC_AUDIO_TEST:
MessageBox(NULL, "Audio Test not implemented yet!", "Fixme", MB_OK | MB_ICONERROR);
if(!PlaySound(MAKEINTRESOURCE(IDW_TESTSOUND), NULL, SND_RESOURCE | SND_SYNC))
MessageBox(NULL, "Audio test failed!", "Error", MB_OK | MB_ICONERROR);
break;
case IDC_AUDIO_CONTROL_PANEL:
MessageBox(NULL, "Launching audio control panel not implemented yet!", "Fixme", MB_OK | MB_ICONERROR);

Binary file not shown.

View File

@ -173,6 +173,7 @@
#define IDS_AUDIO_MISSING 1309
#define IDC_DSOUND_RATES 1310
#define IDC_DSOUND_BITS 1311
#define IDW_TESTSOUND 1312
#define IDS_ACCEL_FULL 8300
#define IDS_ACCEL_STANDARD 8301
#define IDS_ACCEL_BASIC 8302

View File

@ -56,3 +56,6 @@ IDB_WINE BITMAP idb_wine.bmp
/* @makedep: idb_checkbox.bmp */
IDB_CHECKBOX BITMAP idb_checkbox.bmp
/* @makedep: idw_testsound.wav */
IDW_TESTSOUND WAVE idw_testsound.wav