Changeset 2215:956f710f3279 in roaraudio
- Timestamp:
- 07/27/09 21:55:22 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarphone.c
r2196 r2215 27 27 #include "driver.h" 28 28 29 #ifdef ROAR_HAVE_LIBSPEEX 29 #if defined(ROAR_HAVE_LIBSPEEX) && !defined(ROAR_HAVE_LIBSPEEXDSP) 30 #define _SPEEX_API_OLD 31 #elif defined(ROAR_HAVE_LIBSPEEX) && defined(ROAR_HAVE_LIBSPEEXDSP) 32 #define _SPEEX_API_NEW 33 #endif 34 35 #ifdef _SPEEX_API_OLD 30 36 #include <speex/speex_echo.h> 31 37 #endif … … 76 82 } 77 83 78 #ifdef ROAR_HAVE_LIBSPEEX84 #ifdef _SPEEX_API_OLD 79 85 int anti_echo_speex16(int16_t * buf, int16_t * aebuf, size_t len, struct roar_audio_info * info) { 80 86 static SpeexEchoState * state = NULL; … … 131 137 buf[i] -= aebuf[i]; 132 138 break; 133 #ifdef ROAR_HAVE_LIBSPEEX139 #ifdef _SPEEX_API_OLD 134 140 case AE_SPEEX: 135 141 return anti_echo_speex16(buf, aebuf, len, info);
Note: See TracChangeset
for help on using the changeset viewer.