Added new incomplete AudioOutputHost Host LowLevel demo.

This commit is contained in:
Dean Camera 2011-05-30 11:36:21 +00:00
parent 2a26efc691
commit 68468e0aea
12 changed files with 1351 additions and 8 deletions

View file

@ -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);