Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function (thanks...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Audio.h
index b281338..8ea5662 100644 (file)
@@ -3,7 +3,7 @@
      Copyright (C) Dean Camera, 2010.
 
   dean [at] fourwalledcubicle [dot] com
      Copyright (C) Dean Camera, 2010.
 
   dean [at] fourwalledcubicle [dot] com
-      www.fourwalledcubicle.com
+           www.lufa-lib.org
 */
 
 /*
 */
 
 /*
  */
 
 /** \ingroup Group_USBClassDrivers
  */
 
 /** \ingroup Group_USBClassDrivers
- *  @defgroup Group_USBClassAudio Audio Class Driver - LUFA/Drivers/Class/Audio.h
+ *  @defgroup Group_USBClassAudio Audio Class Driver
  *
  *  \section Sec_Dependencies Module Source Dependencies
  *  The following files must be built with any user project that uses this module:
  *    - LUFA/Drivers/USB/Class/Device/Audio.c <i>(Makefile source module name: LUFA_SRC_USBCLASS)</i>
  *
  *
  *  \section Sec_Dependencies Module Source Dependencies
  *  The following files must be built with any user project that uses this module:
  *    - LUFA/Drivers/USB/Class/Device/Audio.c <i>(Makefile source module name: LUFA_SRC_USBCLASS)</i>
  *
- *  \section Module Description
+ *  \section Sec_ModDescription Module Description
  *  Audio Class Driver module. This module contains an internal implementation of the USB Audio 1.0 Class, for Device
  *  USB mode only. User applications can use this class driver instead of implementing the Audio class manually via
  *  the low-level LUFA APIs.
  *  Audio Class Driver module. This module contains an internal implementation of the USB Audio 1.0 Class, for Device
  *  USB mode only. User applications can use this class driver instead of implementing the Audio class manually via
  *  the low-level LUFA APIs.
 #define _AUDIO_CLASS_H_
 
        /* Macros: */
 #define _AUDIO_CLASS_H_
 
        /* Macros: */
-               #define __INCLUDE_FROM_AUDIO_DRIVER
                #define __INCLUDE_FROM_USB_DRIVER
                #define __INCLUDE_FROM_USB_DRIVER
+               #define __INCLUDE_FROM_AUDIO_DRIVER
 
        /* Includes: */
                #include "../HighLevel/USBMode.h"
 
 
        /* Includes: */
                #include "../HighLevel/USBMode.h"
 
-               #if defined(NO_STREAM_CALLBACKS)
-                       #error The NO_STREAM_CALLBACKS compile time option cannot be used in projects using the library Class drivers.
-               #endif
-
                #if defined(USB_CAN_BE_DEVICE)
                        #include "Device/Audio.h"
                #endif
                #if defined(USB_CAN_BE_DEVICE)
                        #include "Device/Audio.h"
                #endif