Hi John,
You could find the "audio_ut_data" defined at audio_device_struct struct located at <usb_audio.h> with below code:
/* Strucutre holding AUDIO class state information*/
typedef struct audio_device_struct
{
audio_handle_t audio_handle;
class_handle_t class_handle;
uint32_t user_handle;
usb_device_handle handle;
usb_endpoints_t* usb_ep_data;
audio_units_struct_t* usb_ut_data;
audio_ut_data_struct_t audio_ut_data;
audio_endpoint_data_struct_t audio_endpoint_data;
usb_application_callback_struct_t audio_application_callback;
usb_vendor_req_callback_struct_t vendor_req_callback;
usb_class_specific_callback_struct_t class_specific_callback;
usb_desc_request_notify_struct_t desc_callback;
uint8_t current_interface;
}audio_device_struct_t;
typedef struct _audio_ut_data_struct
{
audio_ut_struct_t ut[MAX_AUDIO_CLASS_UT_NUM];
}audio_ut_data_struct_t;
The "audio_ut_struct_t" definition located at <usb_class_audio.h> line179:
typedef struct _audio_ut_struct
{
uint8_t unit_id; /* endpoint number */
uint8_t type; /* type of endpoint */
}audio_ut_struct_t;
Wish it helps.
Have a great day,
best regards,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------