Add missing include to the Bentio project.
[pub/USBasp.git] / Demos / Host / LowLevel / AudioOutputHost / AudioOutputHost.h
index 7f980cd..3c4ef5b 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2012.
+     Copyright (C) Dean Camera, 2013.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2013  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -18,7 +18,7 @@
   advertising or publicity pertaining to distribution of the
   software without specific, written prior permission.
 
-  The author disclaim all warranties with regard to this
+  The author disclaims all warranties with regard to this
   software, including all implied warranties of merchantability
   and fitness.  In no event shall the author be liable for any
   special, indirect or consequential damages or any damages
                #include <avr/interrupt.h>
                #include <stdio.h>
 
-               #include <LUFA/Version.h>
                #include <LUFA/Drivers/Misc/TerminalCodes.h>
                #include <LUFA/Drivers/USB/USB.h>
                #include <LUFA/Drivers/Peripheral/Serial.h>
                #include <LUFA/Drivers/Peripheral/ADC.h>
                #include <LUFA/Drivers/Board/LEDs.h>
                #include <LUFA/Drivers/Board/Buttons.h>
+               #include <LUFA/Platform/Platform.h>
 
                #include "ConfigDescriptor.h"
+               #include "Config/AppConfig.h"
 
        /* Macros: */
-               /** ADC channel number for the microphone input. */
-               #define MIC_IN_ADC_CHANNEL        2
-
-               /** ADC channel MUX mask for the microphone input. */
-               #define MIC_IN_ADC_MUX_MASK       ADC_CHANNEL2
-
                /** Maximum audio sample value for the microphone input. */
                #define SAMPLE_MAX_RANGE          0xFFFF
 
                /** Maximum ADC range for the microphone input. */
                #define ADC_MAX_RANGE             0x3FF
 
-               /** Defined to indicate that the microphone input voltage is biased to half the ADC reference voltage. */
-               #define MICROPHONE_BIASED_TO_HALF_RAIL
-               
-               /** Defined to generate test tone when a button is pressed, rather than use a microphone for audio samples. */
-               #define USE_TEST_TONE
-
                /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
                #define LEDMASK_USB_NOTREADY      LEDS_LED1