#include <cafe/uac.h> int UACOUTStop(usb_mic_handle_t h_mic);
|h_mic||Instance handle returned via
A value of zero indicates success and any other value the type of error that was encountered.
Calling this function will stop the streaming of PCM data from the ring buffer that was provided
to the UAC stack with
Upon successful return from this function, all streaming of PCM audio samples to the device
has stopped for the given device instance.
This function requires several milliseconds to complete, although much of that time is spent waiting on synchronization objects. It is not recommended to call this function from a timing sensitive thread.
For more information, see the overview on foreground and background switching.
|Background||Do not call this function from the background.|
|Interrupt handler||Do not call this function from any interrupt handler.|
|Exception handler||Do not call this function from any exception handler.|
2013-05-29 Initial version.