Windows Multimedia DDK (mddkqh.hlp) (Table of Contents; Topic list)
MCI_WAVE_SET_PARMS
                                                 Contents Index Back
────────────────────────────────────────────────────────────────────────────
MCI_WAVE_SET_PARMS
 
        The MCI_WAVE_SET_PARMS structure contains parameters for the
        MCI_SET message for waveform audio devices. When assigning data
        to the fields in this data structure, set the corresponding MCI
        flags in the dwFlags parameter of mciSendCommand to validate
        the fields.
 
        typedef struct {
            DWORD dwCallback;
            DWORD dwTimeFormat;
            DWORD dwAudio;
            UINT wInput;
            UINT wReserved0;
            UINT wOutput;
            UINT wReserved1;
            UINT wFormatTag;
            UINT wReserved2;
            UINT nChannels;
            UINT wReserved3;
            DWORD nSamplesPerSec;
            DWORD nAvgBytesPerSec;
            UINT nBlockAlign;
            UINT wReserved4;
            UINT wBitsPerSample;
            UINT wReserved5;
        } MCI_WAVE_SET_PARMS;
 
Fields
        DWORD dwCallback
            The low-order word specifies a window handle used for the
            MCI_NOTIFY flag.
 
        DWORD dwTimeFormat
            Specifies the time format used by by the device.
 
        DWORD dwAudio
            Specifies the channel used for audio output.
 
        UINT wInput
            Specifies the channel used for audio input.
 
        UINT wReserved0
            Reserved.
 
        UINT wOutput
            Specifies the channel used for output.
 
        UINT wReserved1
            Reserved.
 
        UINT wFormatTag
            Species the interpretation of the waveform data.
 
        UINT wReserved2
            Reserved.
 
        UINT nChannels
            Specifies mono (1) or stereo (2).
 
        UINT wReserved3
            Reserved.
 
        DWORD nSamplesPerSec
            Specifies the samples per second used for the waveform.
 
        DWORD nAvgBytesPerSec
            Specifies the sample rate in bytes per second.
 
        UINT nBlockAlign
            Specifies the block alignment of the data.
 
        UINT wReserved4
            Reserved.
 
        UINT wBitsPerSample
            Specifies the number of bits per sample.
 
        UINT wReserved5
            Reserved.
 
See also
        MCI_SET
 
                                       -♦-