Difference between revisions of "UsbGetInputLevel"

From eMDeeWiki
Jump to navigationJump to search
 
Line 4: Line 4:
 
'''Return Value'''
 
'''Return Value'''
  
Returns a floating point value between 0.0 and 1.0 that represents the input level that is currently set for one channel of the audio CODEC.   
+
Returns a floating point value between 0.0 and 1.0 that represents the input level that is currently set for each channel of the audio CODEC.   
  
  

Latest revision as of 10:20, 9 July 2014

float UsbGetInputLevel(UAC_HANDLE devHandle, int leftOrRight)


Return Value

Returns a floating point value between 0.0 and 1.0 that represents the input level that is currently set for each channel of the audio CODEC.


Parameters

devHandle

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

leftOrRight

Determines which stereo channel to retrieve the input level:
0 = Left CODEC channel
1 = Right CODEC channel


Remarks

Use this function to retrieve the input volume level of the audio CODEC. This function can be used to read the default levels of the CODEC after initialization, or to verify the value written from a call to UsbInputLevel.



USBI2C API Reference
Index of Functions
Home