summaryrefslogtreecommitdiffstats
path: root/tests/spectrum/spectrum.pri
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-09-03 09:03:37 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-09-03 09:07:54 +0300
commit12f78f8ed991d816411b1ba6718a34e8e26e2eb8 (patch)
treeccd0e9d4ea0853d1a458494bcf0dd1b33a3c9c74 /tests/spectrum/spectrum.pri
parentde88514dba523734170652d75a5cefcc7feb7c6c (diff)
Fixed issues from Improve examples task
Task-number: QTRD-2239 + Moved spectrum to tests + Added audiolevels to examples (implementation pending..) Change-Id: If20ce3014211a82dbe0142557beee5776cf51708 Change-Id: If20ce3014211a82dbe0142557beee5776cf51708 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Diffstat (limited to 'tests/spectrum/spectrum.pri')
-rw-r--r--tests/spectrum/spectrum.pri18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/spectrum/spectrum.pri b/tests/spectrum/spectrum.pri
new file mode 100644
index 00000000..31a3767c
--- /dev/null
+++ b/tests/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
+