Add rate to frames and a bunch of evil resample code

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@240 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2005-12-30 00:00:21 +00:00
parent 0fbf3f5af0
commit e98104d109
17 changed files with 265 additions and 111 deletions
+4
View File
@@ -228,15 +228,19 @@ struct switch_codec_implementation {
switch_codec *other_codec,
void *decoded_data,
size_t decoded_data_len,
int decoded_rate,
void *encoded_data,
size_t *encoded_data_len,
int *encoded_rate,
unsigned int *flag);
switch_status (*decode)(switch_codec *codec,
switch_codec *other_codec,
void *encoded_data,
size_t encoded_data_len,
int encoded_rate,
void *decoded_data,
size_t *decoded_data_len,
int *decoded_rate,
unsigned int *flag);
switch_status (*destroy)(switch_codec *);
const struct switch_codec_implementation *next;