|
MCI_WAVE_SET_PARMS
The MCI_WAVE_SET_PARMS structure contains information for the MCI_SET command for waveform-audio devices.
typedef struct {
DWORD dwCallback;
DWORD dwTimeFormat;
DWORD dwAudio;
UINT wInput;
UINT wOutput;
WORD wFormatTag;
WORD wReserved2;
WORD nChannels;
WORD wReserved3;
DWORD nSamplesPerSec;
DWORD nAvgBytesPerSec;
WORD nBlockAlign;
WORD wReserved4;
WORD wBitsPerSample;
WORD wReserved5;
} MCI_WAVE_SET_PARMS;
Members
dwCallback
The low-order word specifies a window handle used for the MCI_NOTIFY flag.
dwTimeFormat
Device's time format.
dwAudio
Channel number for audio output. Typically used when turning a channel on or
off.
wInput
Audio input channel.
wOutput
Output device to use. For example, this value could be 2 if a system had two
installed sound cards.
wFormatTag
Format of the waveform-audio data. This member can be one of the following:
WAVE_FORMAT_ADPCM
Microsoft Corporation
WAVE_FORMAT_ALAW
Microsoft Corporation
WAVE_FORMAT_ANTEX_ADPCME
Antex Electronics Corporation
WAVE_FORMAT_APTX
Audio Processing Technology
WAVE_FORMAT_AUDIOFILE_AF10
Audiofile
WAVE_FORMAT_AUDIOFILE_AF36
Audiofile
WAVE_FORMAT_CONTROL_RES_CR10
Control Resources Corporation
WAVE_FORMAT_CONTROL_RES_VQLPC
Control Resources Corporation
WAVE_FORMAT_CREATIVE_ADPCM
Creative Labs, Inc.
WAVE_FORMAT_CREATIVE_FASTSPEECH10
Creative Labs, Inc.
WAVE_FORMAT__CREATIVE__FASTSPEECH8
Creative Labs, Inc.
WAVE_FORMAT_DIALOGIC_OKI_ADPCM
Dialogic Corporation
WAVE_FORMAT_DIGIADPCM
DSP Solutions, Inc.
WAVE_FORMAT_DIGIFIX
DSP Solutions, Inc.
WAVE_FORMAT_DIGIREAL
DSP Solutions, Inc.
WAVE_FORMAT_DIGISTD
DSP Solutions, Inc.
WAVE_FORMAT_DOLBY_AC2
Dolby Laboratories, Inc.
WAVE_FORMAT_DSPGROUP_TRUESPEECH
DSP Group, Inc.
WAVE_FORMAT_DVI_ADPCM
Intel Corporation
WAVE_FORMAT_ECHOSC1
Echo Speech Corporation
WAVE_FORMAT_FM_TOWNS_SND
Fujitsu, Ltd.
WAVE_FORMAT_G721_ADPCM
Antex Electronics Corporation
WAVE_FORMAT_G723_ADPCM
Antex Electronics Corporation
WAVE_FORMAT_GSM610
Microsoft Corporation
WAVE_FORMAT_IBM_CVSD
International Business Machines
WAVE_FORMAT_IMA_ADPCM
Intel Corporation
WAVE_FORMAT_MEDIASPACE_ADPCM
VideoLogic, Inc.
WAVE_FORMAT_MPEG
Microsoft Corporation
WAVE_FORMAT_MULAW
Microsoft Corporation
WAVE_FORMAT_NMS_VBXADPCM
Natural MicroSystems Corporation
WAVE_FORMAT_OKI_ADPCM
OKI
WAVE_FORMAT_OLIADPCM
Ing C. Olivetti & C., S.p.A.
WAVE_FORMAT_OLICELP
Ing C. Olivetti & C., S.p.A.
WAVE_FORMAT_OLIGSM
Ing C. Olivetti & C., S.p.A.
WAVE_FORMAT_OLIOPR
Ing C. Olivetti & C., S.p.A.
WAVE_FORMAT_OLISBC
Ing C. Olivetti & C., S.p.A.
WAVE_FORMAT_SIERRA_ADPCM
Sierra Semiconductor Corporation
WAVE_FORMAT_SONARC
Speech Compression
WAVE_FORMAT_UNKNOWN
Microsoft Corporation
WAVE_FORMAT_YAMAHA_ADPCM
Yamaha Corporation of America
wReserved2
Reserved.
nChannels
Mono (1) or stereo (2).
wReserved3
Reserved.
nSamplesPerSec
Samples per second.
nAvgBytesPerSec
Sample rate in bytes per second.
nBlockAlign
Block alignment of the data.
wReserved4
Reserved.
wBitsPerSample
Bits per sample.
wReserved5
Reserved.
Remarks
When assigning data to the members of this structure, set the corresponding
flags in the fdwCommand parameter of the mciSendCommand function to validate the members.
See Also
MCI_SET, mciSendCommand
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|