mnGetInputSamplesPerSec

This command is used to determine the samples per second (Hertz) set on the specified input instance.

By default this is 22050, and the format is set to medium (mnSetFormatMedium).

You can change the samples per second using mnSetInputFormat.

Parameters

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

Returns (Unsigned Integer)

A number greater than 0 if no error occurred. This is the samples per second (Hertz) set on the specified input instance.

0 if an error occurred.

Present in

DBP

C++

.Net




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