Changeset 2142:95f833ec51ea in roaraudio
- Timestamp:
- 07/24/09 04:33:00 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarphone.c
r2141 r2142 82 82 return -1; 83 83 84 ROAR_DBG("anti_echo_speex16(*) = ?"); 85 84 86 if ( state == NULL ) { 85 87 if ( (state = speex_echo_state_init(samples, 100*samples)) == NULL ) … … 89 91 } 90 92 93 ROAR_DBG("anti_echo_speex16(*) = ?"); 94 91 95 if ( obuf == NULL ) { 92 96 if ( (obuf = malloc(2*samples)) == NULL ) … … 94 98 } 95 99 100 ROAR_DBG("anti_echo_speex16(*) = ?"); 101 96 102 /* 97 103 speex_echo_cancellation(state, buf, aebuf, obuf); … … 101 107 102 108 memcpy(buf, obuf, 2*samples); 109 110 ROAR_DBG("anti_echo_speex16(*) = 0"); 103 111 104 112 return 0;
Note: See TracChangeset
for help on using the changeset viewer.