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_NUMBER Specifies the number of Audio 2.0 Function Driver instances.
USB_DEVICE_AUDIO_V2_MAX_ALTERNATE_SETTING Specifies the maximum number of Alternate Settings per streaming interface.
USB_DEVICE_AUDIO_V2_MAX_STREAMING_INTERFACES Specifies the maximum number of Audio 2.0 Streaming interfaces in an Audio 2.0 Function Driver instance.
USB_DEVICE_AUDIO_V2_QUEUE_DEPTH_COMBINED Specifies the combined queue size of all Audio 2.0 function driver instances.
Configuration on MCC This section describes the symbols available in the MCC that can be configured.