mnSetDataVolume

This command is used to change the volume of sound data stored in a packet.

Parameters

unsigned short BitsPerSample: The bits per sample of the data stored in the packet. This is the same as the bits per sample of the input instance that retrieved the data.

long long int Packet: The data that the command should use. The content of the packet up to the used size (regardless of the cursor position and memory size) is used.

int PercentageChange: The change in volume. If percentage change is 50 then sound volume will be increased by 50%. If percentage change is -50 then sound volume will be decreased by 50%.

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 Input
(1) Sound Input and Output
(0) DarkNet Help