winecfg: Implement audio test.
This commit is contained in:
parent
000736ae11
commit
70c20d7d4e
|
@ -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.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue