Following are descriptions of the command messages used to control the recording, editing, and playback of waveform data. Analog input devices for recording waveforms are a microphone and tape deck. Analog output devices for waveform playback are a stereo amplifier or speakers connected to an audio adapter.
┌───────────────────────┬─────────────────────────────────────────────┐ │Message │Description │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_CLOSE │Closes the waveform audio player. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_CONNECTOR │Enables or disables a connector, queries its │ │ │state, or identifies its type. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_COPY │Copies data from the device element to the │ │ │clipboard or buffer. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_CUE │Cues the device for minimum delay in │ │ │recording or playback. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_CUT │Removes data from the device element and │ │ │places it in the clipboard or buffer. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_DELETE │Removes the specified range of data from the │ │ │device element. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_GETDEVCAPS │Gets device capabilities. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_INFO │Gets the name of the currently loaded file. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_LOAD │Loads a waveform data file. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_OPEN │Initializes the waveform audio player. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_PASTE │Issues a DELETE on the selected range and │ │ │inserts data into clipboard or buffer. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_PAUSE │Suspends the current play or record action. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_PLAY │Plays back waveform data by means of an audio│ │ │adapter: │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_RECORD │Records waveform data. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_REDO │Redoes the CUT, DELETE, PASTE, or RECORD │ │ │operation most recently done by MCI_UNDO. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_RESUME │Resumes the current play or record action │ │ │from a paused state. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_SAVE │Saves the device element in its current │ │ │format. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_SEEK │Seeks to a specified location. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_SET │Sets device information. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_SET_CUEPOINT │Sets a cue point. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_SET_POSITION_ADVISE│Sets a position change notification request. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_SET_SYNC_OFFSET │Sets a synchronization offset. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_STATUS │Receives status on current settings for items│ │ │used for recording, playback, and saving. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_STOP │Stops the waveform device before loading a │ │ │new file. │ ├───────────────────────┼─────────────────────────────────────────────┤ │MCI_UNDO │Undoes the operation most recently performed │ │ │by CUT, DELETE, PASTE, or RECORD. │ └───────────────────────┴─────────────────────────────────────────────┘