Hi Mark,
I am trying something similar and getting the same error: "This device cannot start. (Code 10) The I/O device is configured incorrectly or the configuration parameters to the driver are incorrect."
I am 'basically' trying to add the audio components from the current sdk example dev_composite_hid_audio_unified to the dev_composite_cdc_vcom_cdc_vcom example. In other words, adding the audio to a dual cdc/vcom implementation on a custom board. I tried adding the IAD:
/* Interface Association Descriptor for audio */
USB_IAD_DESC_SIZE, /* Size of this descriptor in bytes */
USB_DESCRIPTOR_TYPE_INTERFACE_ASSOCIATION, /* INTERFACE_ASSOCIATION Descriptor Type */
0x04, /* The first interface number associated with this function (4 previous interfaces for vcom*2) */
0x03, /* The number of contiguous interfaces associated with this function */
USB_AUDIO_CLASS, /* The function belongs to the Audio Class */
USB_SUBCLASS_AUDIOCONTROL,
0x00, /* The function uses the No class specific protocol required Protocol */
0x02, /* The Function string descriptor index */
but it doesn't help. As far as I can tell, I have adjusted all the parameters, indexes, counts, etc. that need to be changed. I am out of ideas.
Mike H.