USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Library Interface > b) Audio Stream Access Functions > USB_HOST_AUDIO_V1_StreamClose Function
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_StreamClose Function

This function will close the open audio stream. This closes the association between the application entity that opened the audio stream and the audio stream. The audio stream handle becomes invalid.

C
void USB_HOST_AUDIO_V1_StreamClose(
    USB_HOST_AUDIO_V1_STREAM_HANDLE audioStreamHandle
);
Preconditions

None.

Parameters
Parameters 
Description 
audioSteamHandle 
handle to the audio stream obtained from the USB_HOST_AUDIO_V1_StreamOpen function. 
Returns

None.

Remarks

The device handle becomes invalid after calling this function.