more cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7381 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
dcc3fb7608
commit
511958a2c5
|
@ -35,7 +35,6 @@
|
||||||
SWITCH_MODULE_LOAD_FUNCTION(mod_g711_load);
|
SWITCH_MODULE_LOAD_FUNCTION(mod_g711_load);
|
||||||
SWITCH_MODULE_DEFINITION(mod_g711, mod_g711_load, NULL, NULL);
|
SWITCH_MODULE_DEFINITION(mod_g711, mod_g711_load, NULL, NULL);
|
||||||
|
|
||||||
|
|
||||||
static switch_status_t switch_g711u_init(switch_codec_t *codec, switch_codec_flag_t flags, const switch_codec_settings_t *codec_settings)
|
static switch_status_t switch_g711u_init(switch_codec_t *codec, switch_codec_flag_t flags, const switch_codec_settings_t *codec_settings)
|
||||||
{
|
{
|
||||||
int encoding, decoding;
|
int encoding, decoding;
|
||||||
|
@ -50,7 +49,6 @@ static switch_status_t switch_g711u_init(switch_codec_t *codec, switch_codec_fla
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static switch_status_t switch_g711u_encode(switch_codec_t *codec,
|
static switch_status_t switch_g711u_encode(switch_codec_t *codec,
|
||||||
switch_codec_t *other_codec,
|
switch_codec_t *other_codec,
|
||||||
void *decoded_data,
|
void *decoded_data,
|
||||||
|
@ -122,7 +120,6 @@ static switch_status_t switch_g711a_init(switch_codec_t *codec, switch_codec_fla
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static switch_status_t switch_g711a_encode(switch_codec_t *codec,
|
static switch_status_t switch_g711a_encode(switch_codec_t *codec,
|
||||||
switch_codec_t *other_codec,
|
switch_codec_t *other_codec,
|
||||||
void *decoded_data,
|
void *decoded_data,
|
||||||
|
@ -181,7 +178,6 @@ static switch_status_t switch_g711a_destroy(switch_codec_t *codec)
|
||||||
|
|
||||||
/* Registration */
|
/* Registration */
|
||||||
|
|
||||||
|
|
||||||
static switch_codec_implementation_t g711u_8k_120ms_implementation = {
|
static switch_codec_implementation_t g711u_8k_120ms_implementation = {
|
||||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||||
/*.ianacode */ 0,
|
/*.ianacode */ 0,
|
||||||
|
@ -291,8 +287,6 @@ static switch_codec_implementation_t g711u_8k_10ms_implementation = {
|
||||||
/*.next */ &g711u_8k_20ms_implementation
|
/*.next */ &g711u_8k_20ms_implementation
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static switch_codec_implementation_t g711a_8k_120ms_implementation = {
|
static switch_codec_implementation_t g711a_8k_120ms_implementation = {
|
||||||
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
|
||||||
/*.ianacode */ 8,
|
/*.ianacode */ 8,
|
||||||
|
|
Loading…
Reference in New Issue