3.3.4.33 USB_HOST_AUDIO_V1_StreamingInterfaceSamplingFrequencyTypeGet Function

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

Summary

This function returns the sampling frequency type 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 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.