summaryrefslogtreecommitdiffstats
path: root/examples/spectrum/spectrum.pri
diff options
context:
space:
mode:
Diffstat (limited to 'examples/spectrum/spectrum.pri')
-rw-r--r--examples/spectrum/spectrum.pri18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/spectrum/spectrum.pri b/examples/spectrum/spectrum.pri
new file mode 100644
index 00000000..31a3767c
--- /dev/null
+++ b/examples/spectrum/spectrum.pri
@@ -0,0 +1,18 @@
+# The following macros allow certain features and debugging output
+# to be disabled / enabled at compile time.
+
+# Debug output from spectrum calculation
+#DEFINES += LOG_SPECTRUMANALYSER
+
+# Debug output from engine
+#DEFINES += LOG_ENGINE
+
+# Disable level calculation
+DEFINES += DISABLE_LEVEL
+
+# Perform spectrum analysis calculation in a separate thread
+DEFINES += SPECTRUM_ANALYSER_SEPARATE_THREAD
+
+# Suppress warnings about strncpy potentially being unsafe, emitted by MSVC
+win32: DEFINES += _CRT_SECURE_NO_WARNINGS
+