3.3.4.36 USB_HOST_AUDIO_V1_StreamingInterfaceSettingGetNext Function

C

USB_HOST_AUDIO_V1_RESULT USB_HOST_AUDIO_V1_StreamingInterfaceSettingGetNext(
    USB_HOST_AUDIO_V1_OBJ audioObj, 
    USB_HOST_AUDIO_V1_STREAMING_INTERFACE_OBJ streamingInterfaceObj, 
    USB_HOST_AUDIO_V1_STREAMING_INTERFACE_SETTING_OBJ interfaceSettingObjCurrent, 
    USB_HOST_AUDIO_V1_STREAMING_INTERFACE_SETTING_OBJ * interfaceSettingObjNext
);

Summary

This function gets the next streaming interface setting object within an audio streaming interface.

Precondition

The Audio v1.0 Device should have been attached.

Parameters

Parameters Description
audioObj Audio Device object
streamingInterfaceObj Audio streaming interface object
interfaceSettingObjCurrent Current audio streaming interface setting object
interfaceSettingObjNext Pointer to the next audio streaming interface setting object

Returns

  • USB_HOST_AUDIO_V1_RESULT_SUCCESS - The request completed successfully
  • USB_HOST_AUDIO_V1_RESULT_END_OF_INTERFACE_SETTINGS - No more streaming interface settings are available
  • USB_HOST_AUDIO_V1_RESULT_DEVICE_UNKNOWN - Device is not attached
  • USB_HOST_AUDIO_V1_RESULT_OBJ_INVALID - Audio Device object is invalid
  • USB_HOST_AUDIO_V1_RESULT_FAILURE - An error has occurred

Remarks

None.