Fix redefinition warning when USB_DEVICE_ONLY is set on an AVR which does not support...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Audio.h
1 /*
2 LUFA Library
3 Copyright (C) Dean Camera, 2009.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.fourwalledcubicle.com
7 */
8
9 /*
10 Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
12 Permission to use, copy, modify, and distribute this software
13 and its documentation for any purpose and without fee is hereby
14 granted, provided that the above copyright notice appear in all
15 copies and that both that the copyright notice and this
16 permission notice and warranty disclaimer appear in supporting
17 documentation, and that the name of the author not be used in
18 advertising or publicity pertaining to distribution of the
19 software without specific, written prior permission.
20
21 The author disclaim all warranties with regard to this
22 software, including all implied warranties of merchantability
23 and fitness. In no event shall the author be liable for any
24 special, indirect or consequential damages or any damages
25 whatsoever resulting from loss of use, data or profits, whether
26 in an action of contract, negligence or other tortious action,
27 arising out of or in connection with the use or performance of
28 this software.
29 */
30
31 /** \ingroup Group_USBClassDrivers
32 * @defgroup Group_USBClassAudio Audio Device Class Driver - LUFA/Drivers/Class/Audio.h
33 *
34 * \section Sec_Dependencies Module Source Dependencies
35 * The following files must be built with any user project that uses this module:
36 * - LUFA/Drivers/USB/Class/Device/Audio.c
37 * - LUFA/Drivers/USB/Class/Host/Audio.c
38 *
39 * \section Module Description
40 * Functions, macros, variables, enums and types related to the management of USB Audio Class interfaces
41 * within a USB device.
42 *
43 * @{
44 */
45
46 #ifndef _AUDIO_CLASS_H_
47 #define _AUDIO_CLASS_H_
48
49 /* Includes: */
50 #include "../HighLevel/USBMode.h"
51
52 #if defined(USB_CAN_BE_DEVICE)
53 #include "Device/Audio.h"
54 #endif
55
56 #if defined(USB_CAN_BE_HOST)
57 #include "Host/Audio.h"
58 #endif
59
60 #endif
61
62 /** @} */