MPLAB Harmony USB Stack
|
This function will open the specified audio stream. Once opened, the audio stream can be accessed via the handle which this function returns. The audioStreamObj parameter is the value returned in the USB_HOST_AUDIO_V1_0_StreamGetFirst or USB_HOST_AUDIO_V1_0_StreamGetNext functions.
#define USB_HOST_AUDIO_V1_0_StreamOpen USB_HOST_AUDIO_V1_StreamOpen
The audio stream object should be valid.
Parameters |
Description |
audioStreamObj |
Audio stream object |
This function will return a valid handle if the audio stream could be opened successfully; otherwise, it will return USB_HOST_AUDIO_V1_0_STREAM_RESULT_HANDLE_INVALID. The function will return a valid handle if the stream is ready to be opened.
None.
MPLAB Harmony USB Stack
|