Jump to main content

##

# 3.3.4.22 USB_HOST_AUDIO_V1_TerminalSourceIDGet Function

## C

    uint8_t USB_HOST_AUDIO_V1_TerminalSourceIDGet(
        USB_HOST_AUDIO_V1_OBJ audioObj,
        USB_HOST_AUDIO_V1_CONTROL_ENTITY_OBJ entityObject
    );

## Summary

This function returns the ID of the unit or terminal to which this terminal is connected. This function is only applicable to an output terminal. 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.

## 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 terminal is connected.

## Remarks

None.