mnSetHardwarePitch

This command is used to set the hardware pitch multiplier.

The status of this option can be retrieved using mnGetHardwarePitch.

This command will fail if the device specified during mnStartOutput does not support change in playback rate. You can check for support using mnGetDeviceHardwareSupport.

Parameters

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

double Pitch: The change in pitch as a multiplier. E.g. A rate of 2 would double the pitch and a rate of 0.5 would halve the pitch.

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