Changeset 2155:ad48aa7dd72c in roaraudio
- Timestamp:
- 07/24/09 23:06:46 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/streams.c
r2153 r2155 1228 1228 struct roar_stream_server * ss; 1229 1229 struct roar_buffer * bufbuf = NULL; 1230 struct roar_remove_state removalstate; 1230 1231 void * ip; 1231 1232 void * obuf; … … 1233 1234 int is_the_same = 1; 1234 1235 int is_vol_eq = 1; 1236 int antiecho = 0; 1235 1237 ssize_t ret; 1236 1238 … … 1283 1285 } 1284 1286 1285 if ( !is_the_same || !is_vol_eq ) { 1287 if ( streams_get_flag(id, ROAR_FLAG_ANTIECHO) ) 1288 antiecho = 1; 1289 1290 if ( !is_the_same || !is_vol_eq || antiecho ) { 1286 1291 olen = ROAR_OUTPUT_CALC_OUTBUFSIZE(&(s->info)); // we hope g_output_buffer_len 1287 1292 // is ROAR_OUTPUT_CALC_OUTBUFSIZE(g_sa) here … … 1300 1305 1301 1306 ip = g_output_buffer; 1307 1308 if ( antiecho ) { 1309 if ( roar_remove_init(&removalstate) == -1 ) 1310 _return(-1); 1311 } 1302 1312 1303 1313 if ( !is_vol_eq ) {
Note: See TracChangeset
for help on using the changeset viewer.