mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
fix windows build issues from snapshot spandsp-20090131
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11602 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
0064924ba5
commit
356cfa02e8
124 files changed
+1675
-1143
No files matched your search
@@ -53,7 +53,7 @@
|
||||
#include "spandsp/dc_restore.h"
|
||||
#include "spandsp/modem_echo.h"
|
||||
|
||||
modem_echo_can_state_t *modem_echo_can_create(int len)
|
||||
SPAN_DECLARE(modem_echo_can_state_t *) modem_echo_can_create(int len)
|
||||
{
|
||||
modem_echo_can_state_t *ec;
|
||||
|
||||
@@ -86,7 +86,7 @@ modem_echo_can_state_t *modem_echo_can_create(int len)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
void modem_echo_can_free(modem_echo_can_state_t *ec)
|
||||
SPAN_DECLARE(void) modem_echo_can_free(modem_echo_can_state_t *ec)
|
||||
{
|
||||
fir16_free(&ec->fir_state);
|
||||
free(ec->fir_taps32);
|
||||
@@ -95,7 +95,7 @@ void modem_echo_can_free(modem_echo_can_state_t *ec)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
void modem_echo_can_flush(modem_echo_can_state_t *ec)
|
||||
SPAN_DECLARE(void) modem_echo_can_flush(modem_echo_can_state_t *ec)
|
||||
{
|
||||
ec->tx_power = 0;
|
||||
|
||||
@@ -107,13 +107,13 @@ void modem_echo_can_flush(modem_echo_can_state_t *ec)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
void modem_echo_can_adaption_mode(modem_echo_can_state_t *ec, int adapt)
|
||||
SPAN_DECLARE(void) modem_echo_can_adaption_mode(modem_echo_can_state_t *ec, int adapt)
|
||||
{
|
||||
ec->adapt = adapt;
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
int16_t modem_echo_can_update(modem_echo_can_state_t *ec, int16_t tx, int16_t rx)
|
||||
SPAN_DECLARE(int16_t) modem_echo_can_update(modem_echo_can_state_t *ec, int16_t tx, int16_t rx)
|
||||
{
|
||||
int32_t echo_value;
|
||||
int clean_rx;
|
||||
|
||||
Reference in new issue
Block a user