USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Library Interface > a) Audio Device Access Functions > USB_HOST_AUDIO_V1_FeatureUnitSourceIDGet Function
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_FeatureUnitSourceIDGet Function

This function returns the ID of the Unit or Terminal to which this feature unit is connected. This function is only applicable to a feature unit. Prior to calling this function the entity object should be obtained by calling USB_HOST_AUDIO_V1_ControlEntityGetFirst, USB_HOST_AUDIO_V1_ControlEntityGetNext, or USB_HOST_AUDIO_V1_EntityObjectGet.

C
uint8_t USB_HOST_AUDIO_V1_FeatureUnitSourceIDGet(
    USB_HOST_AUDIO_V1_OBJ audioObj, 
    USB_HOST_AUDIO_V1_CONTROL_ENTITY_OBJ entityObject
);
Parameters
Parameters 
Description 
audioObj 
USB Host Audio v1.0 Device object 
entityObject 
Audio control entity object 
Returns

The ID of the unit or terminal to which this feature unit is connected.

Remarks

None.