Various minor tweaks to spandsp and the ARM specific code now does fast top bit detection.

This commit is contained in:
Steve Underwood
2015-04-09 03:30:49 +08:00
parent d55c4a053b
commit 0d6c3a1d73
17 changed files with 234 additions and 92 deletions

View File

@@ -662,8 +662,8 @@ static void monitor_control_messages(t38_gateway_state_t *s,
/*endif*/
}
/*endfor*/
/* If we are processing a message from the modem side, the contents determine the fast receive modem.
we are to use. If it comes from the T.38 side the contents do not. */
/* If we are processing a message from the modem side, the contents determine the fast
receive modem we are to use. If it comes from the T.38 side the contents do not. */
s->core.fast_bit_rate = modem_codes[i].bit_rate;
if (from_modem)
s->core.fast_rx_modem = modem_codes[i].modem_type;
@@ -700,8 +700,9 @@ static void monitor_control_messages(t38_gateway_state_t *s,
/*endif*/
}
/*endfor*/
/* If we are processing a message from the modem side, the contents determine the fast receive modem.
we are to use. If it comes from the T.38 side the contents do not. */
/* If we are processing a DCS message from the modem side, the contents determine the fast
receive modem we are to use. If it comes from the T.38 side the contents do not. For a
DTC message this is reversed. */
s->core.fast_bit_rate = modem_codes[i].bit_rate;
if ((buf[2] == T30_DTC && !from_modem) || (buf[2] != T30_DTC && from_modem))
s->core.fast_rx_modem = modem_codes[i].modem_type;