diff options
Diffstat (limited to 'apps/codecs/libspeex/rockbox.h')
-rw-r--r-- | apps/codecs/libspeex/rockbox.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/rockbox.h b/apps/codecs/libspeex/rockbox.h index 0f8c6d932f..0e0d3ed647 100644 --- a/apps/codecs/libspeex/rockbox.h +++ b/apps/codecs/libspeex/rockbox.h | |||
@@ -19,6 +19,9 @@ | |||
19 | #ifndef SPEEX_ROCKBOX_H | 19 | #ifndef SPEEX_ROCKBOX_H |
20 | #define SPEEX_ROCKBOX_H | 20 | #define SPEEX_ROCKBOX_H |
21 | 21 | ||
22 | /* We don't want all this stuff if we're building encoder */ | ||
23 | #ifndef ROCKBOX_VOICE_ENCODER | ||
24 | |||
22 | #include "../codec.h" | 25 | #include "../codec.h" |
23 | #include "../lib/codeclib.h" | 26 | #include "../lib/codeclib.h" |
24 | 27 | ||
@@ -106,5 +109,7 @@ static inline void _speex_putc(int ch, void *file) | |||
106 | //printf("%c", ch); | 109 | //printf("%c", ch); |
107 | } | 110 | } |
108 | 111 | ||
112 | #endif /* ROCKBOX_VOICE_ENCODER */ | ||
113 | |||
109 | #endif | 114 | #endif |
110 | 115 | ||