UsbInputLevel

From eMDeeWiki
Jump to navigationJump to search

UAC_HANDLE UsbInputLevel(UAC_HANDLE devHandle, float level, int leftOrRight)


Return Value

ErrorMacros.png


Parameters

devHandle

The device handle of an open device. Use the value returned by UsbI2cOpen.

level

A normalized value from 0.0 to 1.0 that represents the volume level of the input. A value of 0.0 will be minimum volume and a value of 1.0 will be maximum volume.

leftOrRight

Specifies which stereo channel to set. Valid values are:
0 = Left CODEC channel
1 = Right CODEC channel


Remarks

Use this function to set the input volume of the audio CODEC. This function can be used to control the overall level of the audio signals that will be captured by the CODEC.



USBI2C API Reference
Index of Functions
Home