diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-08 01:26:52 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-08 01:26:52 +0000 |
commit | e572ee7ff271a3f454fcd8a5fb0d2079bbda4be2 (patch) | |
tree | 623b40f35b2918661580673959b28996fedeaa0e /LUFA/Drivers/USB/Class/Audio.h | |
parent | 605ef921cc189d9a55ce3787a2ac1dd78ef4d14e (diff) | |
download | lufa-e572ee7ff271a3f454fcd8a5fb0d2079bbda4be2.tar.gz lufa-e572ee7ff271a3f454fcd8a5fb0d2079bbda4be2.tar.bz2 lufa-e572ee7ff271a3f454fcd8a5fb0d2079bbda4be2.zip |
Added new Host mode Audio Class driver.
Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Audio.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Audio.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/Class/Audio.h b/LUFA/Drivers/USB/Class/Audio.h index e2f88d16a..ad0150f65 100644 --- a/LUFA/Drivers/USB/Class/Audio.h +++ b/LUFA/Drivers/USB/Class/Audio.h @@ -43,11 +43,12 @@ * \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> + * - LUFA/Drivers/USB/Class/Host/Audio.c <i>(Makefile source module name: LUFA_SRC_USBCLASS)</i> * * \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 both + * Device and Host USB modes. User applications can use this class driver instead of implementing the Audio class + * manually via the low-level LUFA APIs. * * This module is designed to simplify the user code by exposing only the required interface needed to interface with * Hosts or Devices using the USB Audio Class. @@ -69,6 +70,10 @@ #include "Device/Audio.h" #endif + #if defined(USB_CAN_BE_HOST) + #include "Host/Audio.h" + #endif + #endif /** @} */ |