Commit 70c20d7d authored by EA Durbin's avatar EA Durbin Committed by Alexandre Julliard

winecfg: Implement audio test.

parent 000736ae
......@@ -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);
......
......@@ -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
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment