Jump to main content

##

# 2.4.4.4 USB_DEVICE_AUDIO_V2_QUEUE_DEPTH_COMBINED Macro

## C

    #define USB_DEVICE_AUDIO_V2_QUEUE_DEPTH_COMBINED

## Summary

USB device Audio 2.0 Combined Queue Size

This macro defines the number of entries in all queues in all instances of the Audio 2.0 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 2.0 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 2.0 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).