mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-08 20:43:51 +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
+12
-12
@@ -91,7 +91,7 @@ enum
|
||||
V8_SYNC_V92
|
||||
} v8_sync_types_e;
|
||||
|
||||
const char *v8_call_function_to_str(int call_function)
|
||||
SPAN_DECLARE(const char *) v8_call_function_to_str(int call_function)
|
||||
{
|
||||
switch (call_function)
|
||||
{
|
||||
@@ -116,7 +116,7 @@ const char *v8_call_function_to_str(int call_function)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
const char *v8_modulation_to_str(int modulation_scheme)
|
||||
SPAN_DECLARE(const char *) v8_modulation_to_str(int modulation_scheme)
|
||||
{
|
||||
switch (modulation_scheme)
|
||||
{
|
||||
@@ -155,7 +155,7 @@ const char *v8_modulation_to_str(int modulation_scheme)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
const char *v8_protocol_to_str(int protocol)
|
||||
SPAN_DECLARE(const char *) v8_protocol_to_str(int protocol)
|
||||
{
|
||||
switch (protocol)
|
||||
{
|
||||
@@ -170,19 +170,19 @@ const char *v8_protocol_to_str(int protocol)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
const char *v8_pstn_access_to_str(int pstn_access)
|
||||
SPAN_DECLARE(const char *) v8_pstn_access_to_str(int pstn_access)
|
||||
{
|
||||
return "???";
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
const char *v8_pcm_modem_availability_to_str(int pcm_modem_availability)
|
||||
SPAN_DECLARE(const char *) v8_pcm_modem_availability_to_str(int pcm_modem_availability)
|
||||
{
|
||||
return "???";
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
void v8_log_supported_modulations(v8_state_t *s, int modulation_schemes)
|
||||
SPAN_DECLARE(void) v8_log_supported_modulations(v8_state_t *s, int modulation_schemes)
|
||||
{
|
||||
const char *comma;
|
||||
int i;
|
||||
@@ -609,7 +609,7 @@ static int select_modulation(int mask)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
int v8_tx(v8_state_t *s, int16_t *amp, int max_len)
|
||||
SPAN_DECLARE(int) v8_tx(v8_state_t *s, int16_t *amp, int max_len)
|
||||
{
|
||||
int len;
|
||||
|
||||
@@ -632,7 +632,7 @@ int v8_tx(v8_state_t *s, int16_t *amp, int max_len)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
int v8_rx(v8_state_t *s, const int16_t *amp, int len)
|
||||
SPAN_DECLARE(int) v8_rx(v8_state_t *s, const int16_t *amp, int len)
|
||||
{
|
||||
int i;
|
||||
int residual_samples;
|
||||
@@ -850,13 +850,13 @@ int v8_rx(v8_state_t *s, const int16_t *amp, int len)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
logging_state_t *v8_get_logging_state(v8_state_t *s)
|
||||
SPAN_DECLARE(logging_state_t *) v8_get_logging_state(v8_state_t *s)
|
||||
{
|
||||
return &s->logging;
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
v8_state_t *v8_init(v8_state_t *s,
|
||||
SPAN_DECLARE(v8_state_t *) v8_init(v8_state_t *s,
|
||||
int caller,
|
||||
int available_modulations,
|
||||
v8_result_handler_t *result_handler,
|
||||
@@ -890,13 +890,13 @@ v8_state_t *v8_init(v8_state_t *s,
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
int v8_release(v8_state_t *s)
|
||||
SPAN_DECLARE(int) v8_release(v8_state_t *s)
|
||||
{
|
||||
return queue_free(s->tx_queue);
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
int v8_free(v8_state_t *s)
|
||||
SPAN_DECLARE(int) v8_free(v8_state_t *s)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
||||
Reference in new issue
Block a user