]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3181 --resolve the new code requires accurate timestamps, we were incrementing...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 11 Aug 2011 13:49:13 +0000 (08:49 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 11 Aug 2011 13:49:13 +0000 (08:49 -0500)
src/switch_ivr.c

index 84e077f27b2cd02c3db4cd3647747951ca298d90..0989cbc4d4e6e4a4d0284bc37b3a1e5611ca23bb 100644 (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;