Jump to main content

##

# 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_NUMBER | Specifies the number of Audio Function Driver instances.
USB_DEVICE_AUDIO_MAX_ALTERNATE_SETTING | Specifies the maximum number of Alternate Settings per streaming interface.
USB_DEVICE_AUDIO_MAX_STREAMING_INTERFACES | Specifies the maximum number of Audio Streaming interfaces in an Audio Function Driver instance.
USB_DEVICE_AUDIO_QUEUE_DEPTH_COMBINED | Specifies the combined queue size of all Audio function driver instances.
USB_DEVICE_AUDIO_TRANSFER_ABORT_NOTIFY | USB Audio Transfer abort notification enable.
Configuration on MCC | This section describes the symbols available in the MCC that can be configured.