]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove the a thing people can do it right
authorBrian West <brian@freeswitch.org>
Fri, 8 Sep 2006 20:40:19 +0000 (20:40 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 8 Sep 2006 20:40:19 +0000 (20:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2587 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/codecs/mod_g729/mod_g729.c

index 5ebaa35a0befca6763c571d0f0f3c98cf8a32736..150cd24447cf31fc057ffc766245398d2f36d5c1 100644 (file)
@@ -257,49 +257,9 @@ static const switch_codec_implementation_t g729_8k_implementation = {
        &g729_10ms_8k_implementation
 };
 
-static const switch_codec_implementation_t g729a_10ms_8k_implementation = { 
-       /*.codec_type */ SWITCH_CODEC_TYPE_AUDIO, 
-       /*.ianacode */ 18, 
-       /*.iananame */ "G729a", 
-       /*.samples_per_second */ 8000, 
-       /*.bits_per_second */ 32000, 
-       /*.microseconds_per_frame */ 10000, 
-       /*.samples_per_frame */ 80, 
-       /*.bytes_per_frame */ 160, 
-       /*.encoded_bytes_per_frame */ 10, 
-       /*.number_of_channels */ 1, 
-       /*.pref_frames_per_packet */ 1, 
-       /*.max_frames_per_packet */ 1, 
-       /*.init */ switch_g729_init, 
-       /*.encode */ switch_g729_encode, 
-       /*.decode */ switch_g729_decode, 
-       /*.destroy */ switch_g729_destroy, 
-       &g729_8k_implementation
-};
-
-static const switch_codec_implementation_t g729a_8k_implementation = { 
-       /*.codec_type */ SWITCH_CODEC_TYPE_AUDIO, 
-       /*.ianacode */ 18, 
-       /*.iananame */ "G729a", 
-       /*.samples_per_second */ 8000, 
-       /*.bits_per_second */ 64000, 
-       /*.microseconds_per_frame */ 20000, 
-       /*.samples_per_frame */ 160, 
-       /*.bytes_per_frame */ 320, 
-       /*.encoded_bytes_per_frame */ 20, 
-       /*.number_of_channels */ 1, 
-       /*.pref_frames_per_packet */ 1, 
-       /*.max_frames_per_packet */ 1, 
-       /*.init */ switch_g729_init, 
-       /*.encode */ switch_g729_encode, 
-       /*.decode */ switch_g729_decode, 
-       /*.destroy */ switch_g729_destroy, 
-       &g729a_10ms_8k_implementation
-};
-
 static const switch_codec_interface_t g729_codec_interface = { 
        /*.interface_name */ "g729", 
-       /*.implementations */ &g729a_8k_implementation, 
+       /*.implementations */ &g729_8k_implementation, 
 };
 
 static switch_loadable_module_interface_t g729_module_interface = {