MPLAB Harmony USB Stack
|
This function schedules an audio stream set sampling rate request for the specified audio stream. A USB_HOST_AUDIO_V1_STREAM_EVENT_SAMPLING_RATE_SET_COMPLETE event is generated when this request is completed. USB_HOST_AUDIO_V1_STREAM_EVENT_SAMPLING_RATE_SET_COMPLETE_DATA returns the status and request handle of the request.
USB_HOST_AUDIO_V1_RESULT USB_HOST_AUDIO_V1_StreamSamplingFrequencySet( USB_HOST_AUDIO_V1_STREAM_HANDLE streamHandle, USB_HOST_AUDIO_V1_REQUEST_HANDLE * requestHandle, const uint32_t * samplingFrequency );
The audio stream should have been opened.
Parameters |
Description |
streamHandle |
Handle to the Audio v1.0 stream |
requestHandle |
Handle to the stream set sampling rate request |
samplingRate |
Pointer to the sampling rate |
None.
MPLAB Harmony USB Stack
|