Jump to main content

##

# 2.3.3.4 USB_DEVICE_AUDIO_QUEUE_DEPTH_COMBINED Macro

## C

    #define USB_DEVICE_AUDIO_QUEUE_DEPTH_COMBINED

## Summary

USB device Audio Combined Queue Size

This macro defines the number of entries in all queues in all instances of the Audio function driver. This value can be obtained by adding up the read and write queue sizes of each Audio Function driver instance. In a simple single instance USB Audio device application, that does not require buffer queuing, the USB_DEVICE_AUDIO_QUEUE_DEPTH_COMBINED macro can be set to 2. Consider a case of a Audio function driver instances, with has a read queue size of 2 and write queue size of 3, this macro should be set to 5 (2 + 3).