ref: 4dde082d2c147f2368a8407668a0ded1e62ea81d
parent: 3fdfcd40457968a5b639095e40ebd0cde29453c6
author: Ralph Giles <giles@thaumas.net>
date: Thu Nov 3 11:40:43 EDT 2016
Remove SILK_DEBUG define when _WIN32 and _DEBUG are defined. This was just enabling commented-out code, setting a fixed default removes dead code.
--- a/silk/debug.h
+++ b/silk/debug.h
@@ -39,23 +39,10 @@
unsigned long GetHighResolutionTime(void); /* O time in usec*/
-/* make SILK_DEBUG dependent on compiler's _DEBUG */
-#if defined _WIN32
- #ifdef _DEBUG
- #define SILK_DEBUG 1
- #else
- #define SILK_DEBUG 0
- #endif
-
- /* overrule the above */
- #if 0
- /* #define NO_ASSERTS*/
- #undef SILK_DEBUG
- #define SILK_DEBUG 1
- #endif
-#else
- #define SILK_DEBUG 0
-#endif
+/* Set to 1 to enable DEBUG_STORE_DATA() macros for dumping
+ * intermediate signals from the codec.
+ */
+#define SILK_DEBUG 0
/* Flag for using timers */
#define SILK_TIC_TOC 0