MPLAB Harmony USB Stack
|
This function schedules an audio stream enable request for the specified audio stream. An audio stream must be enable before scheduling any data transfer with the stream. A USB_HOST_AUDIO_V1_0_STREAM_EVENT_ENABLE_COMPLETE event is generated when this request is completed. USB_HOST_AUDIO_V1_0_STREAM_EVENT_ENABLE_COMPLETE_DATA returns the status and request handle of the request.
USB_HOST_AUDIO_V1_0_STREAM_RESULT USB_HOST_AUDIO_V1_0_StreamEnable( USB_HOST_AUDIO_V1_0_STREAM_HANDLE streamHandle, USB_HOST_AUDIO_V1_0_REQUEST_HANDLE * requestHandle );
The audio stream should have been opened. Only one audio stream from an audio stream group can be enabled at a time.
Parameters |
Description |
streamHandle |
Handle to the audio v1.0 stream |
requestHandle |
Handle to the stream enable request |
None.
MPLAB Harmony USB Stack
|