USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Library Interface > b) Audio Stream Access Functions > USB_HOST_AUDIO_V1_StreamingInterfaceChannelNumbersGet Function
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_StreamingInterfaceChannelNumbersGet Function

This function returns the number of channels of the specified streaming interface setting.

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
);
Preconditions

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.