FS-3181 --resolve the new code requires accurate timestamps, we were incrementing it by the interval (20) instaead of the samples (160)

This commit is contained in:
Anthony Minessale 2011-08-11 08:49:13 -05:00
parent 9d98d49f05
commit f10566af91
1 changed files with 1 additions and 1 deletions

View File

@ -2412,7 +2412,7 @@ SWITCH_DECLARE(void) switch_ivr_delay_echo(switch_core_session_t *session, uint3
}
stfu_n_eat(jb, ts, read_frame->payload, read_frame->data, read_frame->datalen, 0);
ts += interval;
ts += read_impl.samples_per_packet;
if ((jb_frame = stfu_n_read_a_frame(jb))) {
write_frame.data = jb_frame->data;