You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
2.1 KiB
48 lines
2.1 KiB
#if 0
|
|
Copyright (c) 1991-1996 Microsoft Corporation
|
|
#endif
|
|
|
|
#include <windows.h>
|
|
#include <mmsystem.h>
|
|
#include <mmddk.h>
|
|
#include "mciwave.h"
|
|
#include "config.h"
|
|
#include "mciwave.rcv"
|
|
|
|
IDD_CONFIG DIALOG LOADONCALL MOVEABLE DISCARDABLE 65, 43, 204, 117
|
|
CAPTION "MCI Waveform Driver Setup"
|
|
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME | WS_POPUP | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP
|
|
//FONT 8, "MS Sans Serif"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "You may configure the amount of memory that MCI Waveform driver will use for buffering audio data during playback or record.", -1, "static", SS_LEFT | WS_CHILD, 9, 6, 189, 28
|
|
CONTROL "By default, MCI Waveform driver will allocate enough memory for 4 seconds of audio.", -1, "static", SS_LEFT | WS_CHILD, 8, 36, 188, 23
|
|
CONTROL "&Seconds:", -1, "static", SS_LEFT | WS_CHILD, 29, 68, 39, 8
|
|
CONTROL "", IDSCROLL, "scrollbar", SBS_HORZ | WS_TABSTOP | WS_CHILD, 73, 67, 70, 10
|
|
CONTROL "0", IDCOUNT, "static", SS_CENTER | WS_CHILD, 151, 69, 20, 8
|
|
CONTROL "OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 44, 91, 44, 12
|
|
CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 118, 91, 44, 12
|
|
END
|
|
|
|
STRINGTABLE PRELOAD MOVEABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_PRODUCTNAME, "Sound"
|
|
IDS_MAPPER, "mapper"
|
|
// IDS_COMMANDS, "mciwave"
|
|
IDS_COMMANDS, "#96"
|
|
// By using a numeric value resource load is speeded up
|
|
END
|
|
|
|
//mciwave RCDATA PRELOAD MOVEABLE DISCARDABLE
|
|
96 RCDATA PRELOAD MOVEABLE DISCARDABLE
|
|
BEGIN
|
|
L"play\0", MCI_PLAY, 0, MCI_COMMAND_HEAD,
|
|
L"notify\0", MCI_NOTIFY, MCI_FLAG,
|
|
L"wait\0", MCI_WAIT, MCI_FLAG,
|
|
L"from\0", MCI_FROM, MCI_INTEGER,
|
|
L"to\0", MCI_TO, MCI_INTEGER,
|
|
L"hold\0", MCI_MCIWAVE_PLAY_HOLD, MCI_FLAG,
|
|
L"\0", 0L, MCI_END_COMMAND,
|
|
|
|
L"\0", 0L, MCI_END_COMMAND_LIST
|
|
END
|