Speed up bit-banged USART code in the AVRISP project.
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Audio.h
index 0597bfd..653944c 100644 (file)
 */\r
 \r
 /** \ingroup Group_USBClassDrivers\r
- *  @defgroup Group_USBClassAudio Audio Device Class Driver - LUFA/Drivers/Class/Audio.h\r
+ *  @defgroup Group_USBClassAudio Audio Class Driver - LUFA/Drivers/Class/Audio.h\r
  *\r
  *  \section Sec_Dependencies Module Source Dependencies\r
  *  The following files must be built with any user project that uses this module:\r
  *    - LUFA/Drivers/USB/Class/Device/Audio.c\r
- *    - LUFA/Drivers/USB/Class/Host/Audio.c\r
  *\r
  *  \section Module Description\r
- *  Audio Class Driver module. This module contains an internal implementation of the USB Audio Class, for both\r
- *  Device and Host USB modes. User applications can use this class driver instead of implementing the Audio class\r
- *  manually via the low-level LUFA APIs.\r
+ *  Audio Class Driver module. This module contains an internal implementation of the USB Audio Class, for Device\r
+ *  USB mode only. User applications can use this class driver instead of implementing the Audio class manually via \r
+ *  the low-level LUFA APIs.\r
  *\r
- *  This module is designed to simplify the user code by exposing only the required interface needed to interace with\r
+ *  This module is designed to simplify the user code by exposing only the required interface needed to interface with\r
  *  Hosts or Devices using the USB Audio Class.\r
  *\r
  *  @{\r
 \r
        /* Includes: */\r
                #include "../HighLevel/USBMode.h"\r
+               \r
+               #if defined(NO_STREAM_CALLBACKS)\r
+                       #error The NO_STREAM_CALLBACKS compile time option cannot be used in projects using the library Class drivers.\r
+               #endif\r
 \r
                #if defined(USB_CAN_BE_DEVICE)\r
                        #include "Device/Audio.h"\r
                #endif\r
                \r
-               #if defined(USB_CAN_BE_HOST)\r
-                       #include "Host/Audio.h"\r
-               #endif\r
-               \r
 #endif\r
 \r
 /** @} */\r