mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-4118 --resolve
This commit is contained in:
parent
6e512f1a89
commit
02e5eaefec
@ -494,9 +494,9 @@ static void avmd_process(avmd_session_t *session, switch_frame_t *frame)
|
|||||||
// double s_rate;
|
// double s_rate;
|
||||||
// double e_rate;
|
// double e_rate;
|
||||||
// double avg_a;
|
// double avg_a;
|
||||||
double sine_len;
|
//double sine_len;
|
||||||
uint32_t sine_len_i;
|
uint32_t sine_len_i;
|
||||||
uint32_t beep_len_i;
|
//uint32_t beep_len_i;
|
||||||
// int valid;
|
// int valid;
|
||||||
|
|
||||||
b = &session->b;
|
b = &session->b;
|
||||||
@ -508,8 +508,8 @@ static void avmd_process(avmd_session_t *session, switch_frame_t *frame)
|
|||||||
|
|
||||||
/*! Precompute values used heavily in the inner loop */
|
/*! Precompute values used heavily in the inner loop */
|
||||||
sine_len_i = SINE_LEN(session->rate);
|
sine_len_i = SINE_LEN(session->rate);
|
||||||
sine_len = (double)sine_len_i;
|
//sine_len = (double)sine_len_i;
|
||||||
beep_len_i = BEEP_LEN(session->rate);
|
//beep_len_i = BEEP_LEN(session->rate);
|
||||||
|
|
||||||
channel = switch_core_session_get_channel(session->session);
|
channel = switch_core_session_get_channel(session->session);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user