UAC API Functions

Function Description
UACClose Stops all streaming and closes the USB UAC stack. All resources in calling UACOpen are released upon successful return from this function.
UACGetState Queries UAC device state, such as current gain.
UACINGetStatus Returns the current status of the ring buffer that is dedicated to the input stream.
UACINSetDataConsumed Updates the ring buffer state dedicated to an input stream. Count and index are in samples, not bytes.
UACINStart Starts streaming PCM data into the ring buffer that was provided to the UAC stack with UACOpen until UACINStop is called.
UACINStop Stops streaming PCM data into the ring buffer that was provided to the USB UAC stack with UACOpen.
UACInit Called once to initialize the UAC stack and to register an event callback function. Subsequent events are sent from the UAC stack to the application via this callback.
UACOUTGetStatus Returns the current status of the ring buffer that is dedicated to the output stream.
UACOUTSetDataConsumed Updates the ring buffer state dedicated to an output stream. Count and index are in samples, not bytes.
UACOUTStart Starts streaming PCM data from the ring buffer that was provided with this call.
UACOUTStop Stops streaming PCM data from the output ring buffer.
UACOpen Prepares the USB UAC stack and puts it into a state of readiness.
UACOpenQuery DEPRECATED This function is now deprecated and need no longer be called.
UACSetState Sets UAC device state, such as current gain.
UACUninit Deactivates and shuts down the UAC stack. Typically called in the process of an orderly UAC stack shutdown.
mem_res_query_t DEPRECATED Was used with UACOpenQuery and UACOpen to define the memory resource requirements to successfully open a UAC device instance.
mem_res_t DEPRECATED Was used with UACOpenQuery and UACOpen to define the memory resource requirements to successfully open a UAC device instance.
usb_event_handler_t Called in response to the events enumerated in usb_event_type_t. This event handler is called for all events of all UAC devices.
usb_mic_handle_t Issued by the UAC microphone library when a UAC microphone is attached and the application is notified via usb_event_handler_t. It is used to reference that UAC device in USB microphone library API calls.
usb_mic_ringbuffer_t This data structure defines the ringbuffer that receives the PCM data stream from the USB microphone.
usb_mic_state_t This enumeration defines the various side band parameters that can be adjusted or queried in the USB microphone subsystem.
usb_mic_status_t This data structure defines available data and their location with respect to the ringbuffer.

Revision History

2013/05/29 Initial version.


CONFIDENTIAL