3.3.3 Configuring the Library

The USB Audio v1.0 Host Client Driver requires configuration constants to be specified in system_config.h file. These constants define the build time configuration (functionality and static resources) of the USB Audio v1.0 Host Client Driver.

Macros

Name Description
USB_HOST_AUDIO_V1_ATTACH_LISTENERS_NUMBER Defines the number of attach event listeners that can be registered with Audio v1.0 Host Client Driver.
USB_HOST_AUDIO_V1_INSTANCES_NUMBER Specifies the number of Audio v1.0 instances.
USB_HOST_AUDIO_V1_STREAMING_INTERFACE_ALTERNATE_SETTINGS_NUMBER Defines maximum number of alternate settings per Streaming interface provided by any Device that will be connected to this Audio Host.
USB_HOST_AUDIO_V1_STREAMING_INTERFACES_NUMBER Defines the maximum number of streaming interfaces could be present in an Audio v1.0 device that this Audio v1.0 Host Client Driver can support.