2.3.3 Configuring the Library

The application designer must specify the following configuration parameters while using the USB Audio 1.0 Device Driver. The configuration macros that implement these parameters must be located in the system_config.h file in the application project and a compiler include path (to point to the folder that contains this file) should be specified.

Macros

Name Description
USB_DEVICE_AUDIO_INSTANCES_NUMBERSpecifies the number of Audio Function Driver instances.
USB_DEVICE_AUDIO_MAX_ALTERNATE_SETTINGSpecifies the maximum number of Alternate Settings per streaming interface.
USB_DEVICE_AUDIO_MAX_STREAMING_INTERFACESSpecifies the maximum number of Audio Streaming interfaces in an Audio Function Driver instance.
USB_DEVICE_AUDIO_QUEUE_DEPTH_COMBINEDSpecifies the combined queue size of all Audio function driver instances.
USB_DEVICE_AUDIO_TRANSFER_ABORT_NOTIFYUSB Audio Transfer abort notification enable.
Configuration on MCCThis section describes the symbols available in the MCC that can be configured.