Changeset 1266 for pjproject/trunk/pjmedia/src/pjmedia/echo_suppress.c
- Timestamp:
- May 11, 2007 3:14:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/echo_suppress.c
r974 r1266 86 86 PJ_UNUSED_ARG(latency_ms); 87 87 88 ec = pj_pool_zalloc(pool, sizeof(struct echo_supp));88 ec = PJ_POOL_ZALLOC_T(pool, struct echo_supp); 89 89 ec->samples_per_frame = samples_per_frame; 90 90 ec->tail_ms = tail_ms; … … 120 120 pj_int16_t *play_frm ) 121 121 { 122 echo_supp *ec = state;122 echo_supp *ec = (echo_supp*) state; 123 123 pj_bool_t silence; 124 124 pj_bool_t last_suppressing = ec->suppressing; … … 150 150 unsigned options ) 151 151 { 152 echo_supp *ec = state;152 echo_supp *ec = (echo_supp*) state; 153 153 pj_time_val now; 154 154 unsigned delay_ms; … … 186 186 void *reserved ) 187 187 { 188 echo_supp *ec = state;188 echo_supp *ec = (echo_supp*) state; 189 189 pj_bool_t silence; 190 190
Note: See TracChangeset
for help on using the changeset viewer.