mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 20:47:06 +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
@@ -276,7 +276,7 @@ static uint8_t encode(ima_adpcm_state_t *s, int16_t linear)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
ima_adpcm_state_t *ima_adpcm_init(ima_adpcm_state_t *s, int variant, int chunk_size)
|
||||
SPAN_DECLARE(ima_adpcm_state_t *) ima_adpcm_init(ima_adpcm_state_t *s, int variant, int chunk_size)
|
||||
{
|
||||
if (s == NULL)
|
||||
{
|
||||
@@ -291,14 +291,14 @@ ima_adpcm_state_t *ima_adpcm_init(ima_adpcm_state_t *s, int variant, int chunk_s
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
int ima_adpcm_release(ima_adpcm_state_t *s)
|
||||
SPAN_DECLARE(int) ima_adpcm_release(ima_adpcm_state_t *s)
|
||||
{
|
||||
free(s);
|
||||
return 0;
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
int ima_adpcm_decode(ima_adpcm_state_t *s,
|
||||
SPAN_DECLARE(int) ima_adpcm_decode(ima_adpcm_state_t *s,
|
||||
int16_t amp[],
|
||||
const uint8_t ima_data[],
|
||||
int ima_bytes)
|
||||
@@ -414,7 +414,7 @@ int ima_adpcm_decode(ima_adpcm_state_t *s,
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
int ima_adpcm_encode(ima_adpcm_state_t *s,
|
||||
SPAN_DECLARE(int) ima_adpcm_encode(ima_adpcm_state_t *s,
|
||||
uint8_t ima_data[],
|
||||
const int16_t amp[],
|
||||
int len)
|
||||
|
||||
Reference in new issue
Block a user