USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Library Interface > d) Data Types and Constants > USB_HOST_AUDIO_V1_0_StreamClose Macro
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_0_StreamClose Macro

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
#define USB_HOST_AUDIO_V1_0_StreamClose USB_HOST_AUDIO_V1_StreamClose
Preconditions

None.

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

None.

Remarks

The device handle becomes invalid after calling this function.