3.3.4.31 USB_HOST_AUDIO_V1_StreamingInterfaceGetNext Function
C
USB_HOST_AUDIO_V1_RESULT USB_HOST_AUDIO_V1_StreamingInterfaceGetNext(
USB_HOST_AUDIO_V1_OBJ audioObj,
USB_HOST_AUDIO_V1_STREAMING_INTERFACE_OBJ streamingInterfaceObjCurrent,
USB_HOST_AUDIO_V1_STREAMING_INTERFACE_OBJ* streamingInterfaceObjNext
);
Summary
This function will get the next streaming interface object from the attached Audio Device.
Precondition
The Audio v1.0 Device should have been attached.
Parameters
Parameters | Description |
audioObj | Audio Device object. |
streamingInterfaceObjCurrent | Current audio streaming interface object. |
streamingInterfaceObjNext | Pointer to audio streaming interface object. |
Returns
- USB_HOST_AUDIO_V1_RESULT_SUCCESS - The request completed successfully
- USB_HOST_AUDIO_V1_RESULT_END_OF_STREAMING_INTERFACE - No more streaming interfaces 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.