mnSetOutputFormatLow

This command is used to set the format of sound to low quality.

The format of sound using this command is:

- Channels: 1

- Samples per second: 8000

- Bits per sample: 8

This command must be used before the output instance is setup using mnStartOutput.

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 input instance, the output instance must have the same format as the input instance. You can change the sound input format of an instance using mnSetInputFormat, mnSetInputFormatHigh, mnSetInputFormatMedium and mnSetInputFormatLow.

Parameters

int InstanceID: The output instance ID that this command should use.

Returns (Integer)

0 if no error occurred.

-1 if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Sound Output
(1) Sound Input and Output
(0) DarkNet Help