3.3.4.27 USB_HOST_AUDIO_V1_StreamingInterfaceChannelNumbersGet Function

C

uint8_t USB_HOST_AUDIO_V1_StreamingInterfaceChannelNumbersGet(
    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 number of channels 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

The number of channels present in the audio streaming interface setting.

Remarks

None.