aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h')
-rw-r--r--Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h b/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h
index 397958877..41a4e9f1d 100644
--- a/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h
+++ b/Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h
@@ -65,6 +65,12 @@
/** 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