mnStartOutput

This command initializes the specified output instance and prepares it for output using the specified device.

This command must be used before any other sound output command.

To reverse this command, use mnFinishOutput to shut down the output instance.

Parameters

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

unsigned int OutputDevice: The output device to use. Set this to 4294967295 (unsigned integer maximum) and DarkNet will automatically choose an output device. See “Device Information” for more information on output devices.

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