decoder excitation now in 16-bit precision (was 32), which saves quite a bit
[speexdsp.git] / libspeex / speex_callbacks.c
index 5b2fcea..0b99188 100644 (file)
 
 */
 
-#include "speex_callbacks.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <speex/speex_callbacks.h>
 #include "misc.h"
 
 int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *state)
@@ -47,7 +51,7 @@ int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *st
    {
       return callback->func(bits, state, callback->data);
    } else
-      /*If callback is not registered, skip the right numbr of bits*/
+      /*If callback is not registered, skip the right number of bits*/
    {
       int adv;
       if (id<2)
@@ -121,6 +125,7 @@ int speex_std_char_handler(SpeexBits *bits, void *state, void *data)
    unsigned char ch;
    ch = speex_bits_unpack_unsigned(bits, 8);
    _speex_putc(ch, data);
+   /*printf("speex_std_char_handler ch=%x\n", ch);*/
    return 0;
 }