summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2010-05-04 14:43:01 +0000
committerJeffrey Goode <jeffg7@gmail.com>2010-05-04 14:43:01 +0000
commit09cd188596db54c4b752cbeebe5a10bcc9149eec (patch)
treec753e9385d6b817716544d6b6d3fa797ed2b25ff
parent054ddfd0c6735505920690d51da2d9b32e1e47ae (diff)
downloadrockbox-09cd188596db54c4b752cbeebe5a10bcc9149eec.tar.gz
rockbox-09cd188596db54c4b752cbeebe5a10bcc9149eec.zip
Fix logf behavior in voice_thread.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25810 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/voice_thread.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index 86e80cece3..fdf61afc6d 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -20,7 +20,6 @@
20 ****************************************************************************/ 20 ****************************************************************************/
21#include "system.h" 21#include "system.h"
22#include "thread.h" 22#include "thread.h"
23#include "logf.h"
24#include "voice_thread.h" 23#include "voice_thread.h"
25#include "talk.h" 24#include "talk.h"
26#include "dsp.h" 25#include "dsp.h"
@@ -29,10 +28,14 @@
29#include "pcmbuf.h" 28#include "pcmbuf.h"
30#include "codecs/libspeex/speex/speex.h" 29#include "codecs/libspeex/speex/speex.h"
31 30
32/* Define any of these as "1" to log regular and/or timeout messages */ 31/* Define any of these as "1" and uncomment the LOGF_ENABLE line to log
32 regular and/or timeout messages */
33#define VOICE_LOGQUEUES 0 33#define VOICE_LOGQUEUES 0
34#define VOICE_LOGQUEUES_SYS_TIMEOUT 0 34#define VOICE_LOGQUEUES_SYS_TIMEOUT 0
35 35
36/*#define LOGF_ENABLE*/
37#include "logf.h"
38
36#if VOICE_LOGQUEUES 39#if VOICE_LOGQUEUES
37#define LOGFQUEUE logf 40#define LOGFQUEUE logf
38#else 41#else