\r
/* Includes: */\r
#include <LUFA/Drivers/USB/USB.h>\r
- #include <LUFA/Drivers/USB/Class/Device/Audio.h>\r
+ #include <LUFA/Drivers/USB/Class/Audio.h>\r
\r
#include <avr/pgmspace.h>\r
\r
/* Macros: */\r
- #if defined(USB_FULL_CONTROLLER) || defined(__DOXYGEN__)\r
+ #if defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR) || defined(__DOXYGEN__)\r
/** Endpoint number of the Audio isochronous streaming data endpoint. */\r
#define AUDIO_STREAM_EPNUM 1\r
#else\r
- #define AUDIO_STREAM_EPNUM 3 \r
+ #define AUDIO_STREAM_EPNUM 3\r
#endif\r
\r
/** Endpoint size in bytes of the Audio isochronous streaming data endpoint. The Windows audio stack requires\r
* USB AVR models will result in unavoidable distorted output.\r
*/\r
#define AUDIO_STREAM_EPSIZE ENDPOINT_MAX_SIZE(AUDIO_STREAM_EPNUM)\r
- \r
+\r
/** Sample frequency of the data being transmitted through the streaming endpoint. */\r
#define AUDIO_SAMPLE_FREQUENCY 48000\r
- \r
+\r
/* Type Defines: */\r
/** Type define for the device configuration descriptor structure. This must be defined in the\r
* application code, as the configuration descriptor contains several sub-descriptors which\r
USB_AudioStreamEndpoint_Std_t AudioEndpoint;\r
USB_AudioStreamEndpoint_Spc_t AudioEndpoint_SPC;\r
} USB_Descriptor_Configuration_t;\r
- \r
+\r
/* Function Prototypes: */\r
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)\r
ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);\r