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_0_NumberOfStreamGroupsGet Function
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_0_NumberOfStreamGroupsGet Function

This function will get number of stream groups present in the attached Audio v1.0 Device. The audio stream within an audio stream cannot be enabled at the same time.

C
uint8_t USB_HOST_AUDIO_V1_0_NumberOfStreamGroupsGet(
    USB_HOST_AUDIO_V1_0_OBJ audioObj
);
Preconditions

The Audio v1.0 Device should have been attached.

Parameters
Parameters 
Description 
audioObj 
Audio v1.0 Client Driver object 
Returns

A returned uint8_t indicates the number of audio stream groups present in the attached Audio v1.0 Device.

Remarks

None.