* of the Audio Streaming interface.\r
*/\r
} State; /**< State data for the USB class interface within the device. All elements in this section\r
* of the Audio Streaming interface.\r
*/\r
} State; /**< State data for the USB class interface within the device. All elements in this section\r
*/ \r
} USB_ClassInfo_Audio_Device_t;\r
\r
/* Function Prototypes: */\r
/** Configures the endpoints of a given Audio interface, ready for use. This should be linked to the library\r
*/ \r
} USB_ClassInfo_Audio_Device_t;\r
\r
/* Function Prototypes: */\r
/** Configures the endpoints of a given Audio interface, ready for use. This should be linked to the library\r
* given Audio interface is selected.\r
*\r
* \param[in,out] AudioInterfaceInfo Pointer to a structure containing an Audio Class configuration and state.\r
* given Audio interface is selected.\r
*\r
* \param[in,out] AudioInterfaceInfo Pointer to a structure containing an Audio Class configuration and state.\r
bool Audio_Device_ConfigureEndpoints(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo);\r
\r
/** Processes incomming control requests from the host, that are directed to the given Audio class interface. This should be\r
bool Audio_Device_ConfigureEndpoints(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo);\r
\r
/** Processes incomming control requests from the host, that are directed to the given Audio class interface. This should be\r
\r
/** General management task for a given Audio class interface, required for the correct operation of the interface. This should\r
* be called frequently in the main program loop, before the master USB management task \ref USB_USBTask().\r
\r
/** General management task for a given Audio class interface, required for the correct operation of the interface. This should\r
* be called frequently in the main program loop, before the master USB management task \ref USB_USBTask().\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsSampleReceived() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsSampleReceived() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Reads the next 16-bit audio sample from the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsSampleReceived() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Reads the next 16-bit audio sample from the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsSampleReceived() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Reads the next 24-bit audio sample from the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsSampleReceived() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Reads the next 24-bit audio sample from the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsSampleReceived() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Writes the next 8-bit audio sample to the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsReadyForNextSample() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Writes the next 8-bit audio sample to the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsReadyForNextSample() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Writes the next 16-bit audio sample to the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsReadyForNextSample() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Writes the next 16-bit audio sample to the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsReadyForNextSample() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Writes the next 24-bit audio sample to the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsReadyForNextSample() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r
\r
/** Writes the next 24-bit audio sample to the current audio interface.\r
*\r
* \note This should be preceeded immediately by a call to the USB_Audio_IsReadyForNextSample() function to ensure that\r
* the correct endpoint is selected and ready for data.\r
*\r