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_StreamingInterfaceSamplingFrequencyTypeGet Function
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_StreamingInterfaceSamplingFrequencyTypeGet Function

This function returns the sampling frequency type of the specified streaming interface setting.

C
uint8_t USB_HOST_AUDIO_V1_StreamingInterfaceSamplingFrequencyTypeGet(
    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 sampling frequency type of the audio streaming interface setting.

  • 0 - Continuous Sampling frequency is supported
  • 1 to 255 - The number of discrete sampling frequencies supported by the audio streaming interface
Remarks

None.