mnSetHardwarePlaybackRate

This command is used to set the hardware playback rate multiplier.

The status of this option can be retrieved using mnGetHardwarePlaybackRate.

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 Rate: The change in playback rate as a multiplier. E.g. A rate of 2 would double the playback rate and a rate of 0.5 would halve the playback rate.

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