From 02e5eaefec5104d7cdd4945d22bce9284e6eaf41 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 16 Apr 2012 16:14:20 -0500 Subject: [PATCH] FS-4118 --resolve --- src/mod/applications/mod_avmd/mod_avmd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mod/applications/mod_avmd/mod_avmd.c b/src/mod/applications/mod_avmd/mod_avmd.c index 58683b4587..ce3aed0916 100644 --- a/src/mod/applications/mod_avmd/mod_avmd.c +++ b/src/mod/applications/mod_avmd/mod_avmd.c @@ -494,9 +494,9 @@ static void avmd_process(avmd_session_t *session, switch_frame_t *frame) // double s_rate; // double e_rate; // double avg_a; - double sine_len; + //double sine_len; uint32_t sine_len_i; - uint32_t beep_len_i; + //uint32_t beep_len_i; // int valid; b = &session->b; @@ -508,9 +508,9 @@ static void avmd_process(avmd_session_t *session, switch_frame_t *frame) /*! Precompute values used heavily in the inner loop */ sine_len_i = SINE_LEN(session->rate); - sine_len = (double)sine_len_i; - beep_len_i = BEEP_LEN(session->rate); - + //sine_len = (double)sine_len_i; + //beep_len_i = BEEP_LEN(session->rate); + channel = switch_core_session_get_channel(session->session); /*! Insert frame of 16 bit samples into buffer */