MPLAB Harmony USB Stack
|
This function returns information about next audio stream in the specified Audio stream group. The USB_HOST_AUDIO_V1_0_StreamGetFirst function should have been called at least once on the same audio stream group before calling this function. Then, calling this function repeatedly on the stream group will return information about the next audio stream in the stream group. When there are no more audio streams to report, the function returns USB_HOST_AUDIO_V1_0_RESULT_END_OF_STREAM_LIST.
Calling the USB_HOST_AUDIO_V1_0_StreamGetFirst function on the stream group index after the USB_HOST_AUDIO_V1_0_StreamGetNext function has been called will cause the Audio v1.0 Client Driver to reset the audio stream group to point to the first stream in the stream group.
USB_HOST_AUDIO_V1_0_RESULT USB_HOST_AUDIO_V1_0_StreamGetNext( USB_HOST_AUDIO_V1_0_STREAM_OBJ audioStreamObj, USB_HOST_AUDIO_V1_0_STREAM_INFO * streamInfo );
The USB_HOST_AUDIO_V1_0_StreamGetFirst function must have been called before calling this function.
Parameters |
Description |
audioStreamObj |
Present audio stream object |
streamInfo |
Pointer to the streamInfo object |
None.
MPLAB Harmony USB Stack
|