AppConfigHeaders: Move out the last of the demo/app configurations into new AppConfig...
[pub/USBasp.git] / Demos / Host / ClassDriver / AudioOutputHost / AudioOutputHost.h
index 41a4e9f..fa4801b 100644 (file)
                #include <LUFA/Drivers/Board/LEDs.h>
                #include <LUFA/Drivers/Board/Buttons.h>
                #include <LUFA/Drivers/USB/USB.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