Media Control Interface(MCI)
The Media Control Interface (MCI) provides standard commands for playing multimedia devices and recording multimedia resource files. These commands are a generic interface to nearly every kind of multimedia device.
The recording scenario consists of the following steps: - Open a waveform-audio device with a new file for recording.
- Once the device is opened successfully; get the device ID.
- Begin recording and record for the specified number of milliseconds. Wait for recording to complete before continuing.
- Assume the default time format for the waveform-audio device (milliseconds).
- Play the recording and query user to save the file.
- Save the recording to a file named TEMPFILE.WAV. Wait for the operation to complete before continuing.
Use MCI library to work with audio file in C#. If anything else let me know.
thanks
