if (DESCRIPTOR_TYPE(ConfigDescriptorData) != DTYPE_Configuration)\r
return AUDIO_ENUMERROR_InvalidConfigDescriptor;\r
\r
if (DESCRIPTOR_TYPE(ConfigDescriptorData) != DTYPE_Configuration)\r
return AUDIO_ENUMERROR_InvalidConfigDescriptor;\r
\r
{\r
if (!(AudioControlInterface) ||\r
USB_GetNextDescriptorComp(&ConfigDescriptorSize, &ConfigDescriptorData,\r
{\r
if (!(AudioControlInterface) ||\r
USB_GetNextDescriptorComp(&ConfigDescriptorSize, &ConfigDescriptorData,\r
{\r
if (!(AudioControlInterface) ||\r
USB_GetNextDescriptorComp(&ConfigDescriptorSize, &ConfigDescriptorData,\r
{\r
if (!(AudioControlInterface) ||\r
USB_GetNextDescriptorComp(&ConfigDescriptorSize, &ConfigDescriptorData,\r
AudioControlInterface = DESCRIPTOR_PCAST(ConfigDescriptorData, USB_Descriptor_Interface_t); \r
\r
if (USB_GetNextDescriptorComp(&ConfigDescriptorSize, &ConfigDescriptorData,\r
AudioControlInterface = DESCRIPTOR_PCAST(ConfigDescriptorData, USB_Descriptor_Interface_t); \r
\r
if (USB_GetNextDescriptorComp(&ConfigDescriptorSize, &ConfigDescriptorData,\r
{\r
return AUDIO_ENUMERROR_NoCompatibleInterfaceFound;\r
}\r
}\r
\r
AudioStreamingInterface = DESCRIPTOR_PCAST(ConfigDescriptorData, USB_Descriptor_Interface_t);\r
{\r
return AUDIO_ENUMERROR_NoCompatibleInterfaceFound;\r
}\r
}\r
\r
AudioStreamingInterface = DESCRIPTOR_PCAST(ConfigDescriptorData, USB_Descriptor_Interface_t);\r
const uint8_t DataPipeIndex,\r
const uint8_t EndpointProperty,\r
const uint8_t EndpointControl,\r
const uint8_t DataPipeIndex,\r
const uint8_t EndpointProperty,\r
const uint8_t EndpointControl,\r