[Freeswitch-svn] [commit] r7377 - freeswitch/trunk/src/mod/codecs/mod_gsm
Freeswitch SVN
brian at freeswitch.org
Sat Jan 26 21:47:51 EST 2008
Author: brian
Date: Sat Jan 26 21:47:51 2008
New Revision: 7377
Modified:
freeswitch/trunk/src/mod/codecs/mod_gsm/mod_gsm.c
Log:
white space cleanup
Modified: freeswitch/trunk/src/mod/codecs/mod_gsm/mod_gsm.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_gsm/mod_gsm.c (original)
+++ freeswitch/trunk/src/mod/codecs/mod_gsm/mod_gsm.c Sat Jan 26 21:47:51 2008
@@ -39,6 +39,7 @@
gsm encoder;
gsm decoder;
};
+
static switch_status_t switch_gsm_init(switch_codec_t *codec, switch_codec_flag_t flags, const switch_codec_settings_t *codec_settings)
{
struct gsm_context *context;
@@ -57,6 +58,7 @@
codec->private_info = context;
return SWITCH_STATUS_SUCCESS;
}
+
static switch_status_t switch_gsm_destroy(switch_codec_t *codec)
{
struct gsm_context *context = codec->private_info;
@@ -69,6 +71,7 @@
codec->private_info = NULL;
return SWITCH_STATUS_SUCCESS;
}
+
static switch_status_t switch_gsm_encode(switch_codec_t *codec, switch_codec_t *other_codec, void *decoded_data,
uint32_t decoded_data_len, uint32_t decoded_rate, void *encoded_data,
uint32_t * encoded_data_len, uint32_t * encoded_rate, unsigned int *flag)
@@ -98,6 +101,7 @@
}
return SWITCH_STATUS_SUCCESS;
}
+
static switch_status_t switch_gsm_decode(switch_codec_t *codec, switch_codec_t *other_codec, void *encoded_data,
uint32_t encoded_data_len, uint32_t encoded_rate, void *decoded_data,
uint32_t * decoded_data_len, uint32_t * decoded_rate, unsigned int *flag)
@@ -132,7 +136,6 @@
return SWITCH_STATUS_SUCCESS;
}
-
/* Registration */
static switch_codec_implementation_t gsm_8k_implementation = {
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
More information about the Freeswitch-svn
mailing list