2.4.4 Configuring the Library

The application designer must specify the following configuration parameters while using the USB Audio 2.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.

Topics

Name Description
USB_DEVICE_AUDIO_V2_INSTANCES_NUMBERSpecifies the number of Audio 2.0 Function Driver instances.
USB_DEVICE_AUDIO_V2_MAX_ALTERNATE_SETTINGSpecifies the maximum number of Alternate Settings per streaming interface.
USB_DEVICE_AUDIO_V2_MAX_STREAMING_INTERFACESSpecifies the maximum number of Audio 2.0 Streaming interfaces in an Audio 2.0 Function Driver instance.
USB_DEVICE_AUDIO_V2_QUEUE_DEPTH_COMBINEDSpecifies the combined queue size of all Audio 2.0 function driver instances.
Configuration on MCCThis section describes the symbols available in the MCC that can be configured.