]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
possible fix fore MODEMP-40
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 1 Nov 2007 17:11:15 +0000 (17:11 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 1 Nov 2007 17:11:15 +0000 (17:11 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6133 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_portaudio/mod_portaudio.c

index b3d7faff63e2de1fd5307d4806797e6d1ce3a2ff..4c6050e3eea8071b93576f423757f4f1377d3a0d 100644 (file)
@@ -608,7 +608,6 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
 
                        tech_pvt->hold_frame.datalen = (uint32_t) (olen * sizeof(int16_t));
                        tech_pvt->hold_frame.samples = (uint32_t) olen;
-                       tech_pvt->hold_frame.timestamp = globals.timer.samplecount;
                        *frame = &tech_pvt->hold_frame;
 
                }
@@ -628,7 +627,6 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
                globals.read_frame.samples = samples;
 
                switch_core_timer_check(&globals.timer);
-               globals.read_frame.timestamp = globals.timer.samplecount;
                *frame = &globals.read_frame;
 
                if (!switch_test_flag((&globals), GFLAG_MOUTH)) {