Added new incomplete AudioOutputHost Host LowLevel demo.
This commit is contained in:
@@ -120,7 +120,7 @@ uint8_t ProcessConfigurationDescriptor(void)
|
||||
/* Retrieve the endpoint address from the endpoint descriptor */
|
||||
USB_Descriptor_Endpoint_t* EndpointData = DESCRIPTOR_PCAST(CurrConfigLocation, USB_Descriptor_Endpoint_t);
|
||||
|
||||
/* If the endpoint is a IN type endpoint */
|
||||
/* Save the endpoint if it is an IN type endpoint */
|
||||
if (EndpointData->EndpointAddress & ENDPOINT_DESCRIPTOR_DIR_IN)
|
||||
DataINEndpoint = EndpointData;
|
||||
}
|
||||
@@ -129,7 +129,7 @@ uint8_t ProcessConfigurationDescriptor(void)
|
||||
StreamingInterfaceAltSetting = AudioStreamingInterface->AlternateSetting;
|
||||
StreamingEndpointAddress = DataINEndpoint->EndpointAddress;
|
||||
|
||||
/* Configure the HID data IN pipe */
|
||||
/* Configure the Audio data IN pipe */
|
||||
Pipe_ConfigurePipe(AUDIO_DATA_IN_PIPE, EP_TYPE_ISOCHRONOUS, PIPE_TOKEN_IN,
|
||||
DataINEndpoint->EndpointAddress, DataINEndpoint->EndpointSize, PIPE_BANK_DOUBLE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user