This command is used to set the format
of sound to medium quality.
The format of sound using this command is:
- Channels: 1
- Samples per second: 22050
- Bits per sample: 8
This command must be used before the
input instance is setup using mnStartInput.
The sound format of the instance used to play data (mnPlayData) must be the same as the format of the data. So if you want to play sound from an output instance, the output instance must have the same format as the input instance. You can change the sound output format of an instance using mnSetOutputFormat, mnSetOutputFormatHigh, mnSetOutputFormatMedium and mnSetOutputFormatLow.
int InstanceID: The input instance ID that this command should use.
0 if no error occurred.
-1 if an error occurred.
DBP
C++
.Net