2.4.5.12 USB_DEVICE_AUDIO_V2_INIT Structure

C

typedef struct {
  size_t queueSizeRead;
  size_t queueSizeWrite;
} USB_DEVICE_AUDIO_V2_INIT;

Summary

USB Device Audio v2.0 Function Driver Initialization Data Structure

This data structure must be defined for every instance of the Audio function driver. It is passed to the Audio v2.0 function driver, by the Device Layer, at the time of initialization. The funcDriverInit member of the Device Layer Function Driver registration table entry must point to this data structure for an instance of the Audio function driver.

Members

Members Description
size_t queueSizeRead; Size of the read queue for this instance of the Audio function driver
size_t queueSizeWrite; Size of the write queue for this instance of the Audio function driver

Remarks

The queue sizes that are specified in this data structure are also affected by the USB_DEVICE_AUDIO_V2_QUEUE_DEPTH_COMBINED configuration macro.