Jump to main content

##

# 3.3.4.28 USB_HOST_AUDIO_V1_StreamingInterfaceDirectionGet Function

## C

    USB_HOST_AUDIO_V1_STREAM_DIRECTION USB_HOST_AUDIO_V1_StreamingInterfaceDirectionGet(
        USB_HOST_AUDIO_V1_OBJ audioObj,
        USB_HOST_AUDIO_V1_STREAMING_INTERFACE_OBJ streamingInterfaceObj,
        USB_HOST_AUDIO_V1_STREAMING_INTERFACE_SETTING_OBJ interfaceSettingObj
    );

## Summary

This function returns the direction of the specified streaming interface setting.

## Precondition

The Audio v1.0 Device should have been attached.

## Parameters

Parameters | Description
audioObj | Audio Device object
streamingInterfaceObj | Audio streaming interface object
interfaceSettingObj | Audio streaming interface setting object

## Returns

- USB_HOST_AUDIO_V1_DIRECTION_OUT - Host to Device
- USB_HOST_AUDIO_V1_DIRECTION_IN - Device to Host

## Remarks

None.