mnGetDeviceMaxChannels

This command returns the maximum number of channels supported by the specified input or output device.

You can use mnGetNumOutputDevices to determine how many output devices are available.

You can use mnGetNumInputDevices to determine how many input devices are available.

You can use mnSetInputFormat or mnSetOutputFormat to change the format of an input or output instance.

Parameters

int DeviceID: The input or output device ID of the device that this command should use.

bool Output: If this is true the device ID should be an output device ID, if it is false the device ID should be an input device ID.

Returns (Unsigned Short)

Any number if no error occurred. This is the maximum number of channels supported by the specified input or output device.

0 if an error occurred.

Present in

DBP

C++

.Net




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