[svn-commits] dvossel: branch dvossel/fixtheworld_phase1_step2 r299400 - /team/dvossel/fixt...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Dec 21 21:11:45 UTC 2010


Author: dvossel
Date: Tue Dec 21 15:11:42 2010
New Revision: 299400

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=299400
Log:
Remove manual setting of table cost in translation modules. 

Modified:
    team/dvossel/fixtheworld_phase1_step2/codecs/codec_adpcm.c
    team/dvossel/fixtheworld_phase1_step2/codecs/codec_alaw.c
    team/dvossel/fixtheworld_phase1_step2/codecs/codec_speex.c

Modified: team/dvossel/fixtheworld_phase1_step2/codecs/codec_adpcm.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step2/codecs/codec_adpcm.c?view=diff&rev=299400&r1=299399&r2=299400
==============================================================================
--- team/dvossel/fixtheworld_phase1_step2/codecs/codec_adpcm.c (original)
+++ team/dvossel/fixtheworld_phase1_step2/codecs/codec_adpcm.c Tue Dec 21 15:11:42 2010
@@ -288,7 +288,6 @@
 	.name = "adpcmtolin",
 	.srcfmt = AST_FORMAT_ADPCM,
 	.dstfmt = AST_FORMAT_SLINEAR,
-	.table_cost = AST_TRANS_COST_LY_LL_ORIGSAMP,
 	.framein = adpcmtolin_framein,
 	.sample = adpcm_sample,
 	.desc_size = sizeof(struct adpcm_decoder_pvt),
@@ -300,7 +299,6 @@
 	.name = "lintoadpcm",
 	.srcfmt = AST_FORMAT_SLINEAR,
 	.dstfmt = AST_FORMAT_ADPCM,
-	.table_cost = AST_TRANS_COST_LL_LY_ORIGSAMP,
 	.framein = lintoadpcm_framein,
 	.frameout = lintoadpcm_frameout,
 	.sample = slin8_sample,

Modified: team/dvossel/fixtheworld_phase1_step2/codecs/codec_alaw.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step2/codecs/codec_alaw.c?view=diff&rev=299400&r1=299399&r2=299400
==============================================================================
--- team/dvossel/fixtheworld_phase1_step2/codecs/codec_alaw.c (original)
+++ team/dvossel/fixtheworld_phase1_step2/codecs/codec_alaw.c Tue Dec 21 15:11:42 2010
@@ -75,7 +75,6 @@
 	.name = "alawtolin",
 	.srcfmt = AST_FORMAT_ALAW,
 	.dstfmt = AST_FORMAT_SLINEAR,
-	.table_cost = AST_TRANS_COST_LY_LL_ORIGSAMP,
 	.framein = alawtolin_framein,
 	.sample = alaw_sample,
 	.buffer_samples = BUFFER_SAMPLES,
@@ -86,7 +85,6 @@
 	"lintoalaw",
 	.srcfmt = AST_FORMAT_SLINEAR,
 	.dstfmt = AST_FORMAT_ALAW,
-	.table_cost = AST_TRANS_COST_LL_LY_ORIGSAMP,
 	.framein = lintoalaw_framein,
 	.sample = slin8_sample,
 	.buffer_samples = BUFFER_SAMPLES,

Modified: team/dvossel/fixtheworld_phase1_step2/codecs/codec_speex.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step2/codecs/codec_speex.c?view=diff&rev=299400&r1=299399&r2=299400
==============================================================================
--- team/dvossel/fixtheworld_phase1_step2/codecs/codec_speex.c (original)
+++ team/dvossel/fixtheworld_phase1_step2/codecs/codec_speex.c Tue Dec 21 15:11:42 2010
@@ -332,7 +332,6 @@
 	.name = "speextolin", 
 	.srcfmt = AST_FORMAT_SPEEX,
 	.dstfmt =  AST_FORMAT_SLINEAR,
-	.table_cost = AST_TRANS_COST_LY_LL_ORIGSAMP,
 	.newpvt = speextolin_new,
 	.framein = speextolin_framein,
 	.destroy = speextolin_destroy,
@@ -347,7 +346,6 @@
 	.name = "lintospeex", 
 	.srcfmt = AST_FORMAT_SLINEAR,
 	.dstfmt = AST_FORMAT_SPEEX,
-	.table_cost = AST_TRANS_COST_LL_LY_ORIGSAMP,
 	.newpvt = lintospeex_new,
 	.framein = lintospeex_framein,
 	.frameout = lintospeex_frameout,
@@ -362,7 +360,6 @@
 	.name = "speexwbtolin16", 
 	.srcfmt = AST_FORMAT_SPEEX16,
 	.dstfmt =  AST_FORMAT_SLINEAR16,
-	.table_cost = AST_TRANS_COST_LY_LL_ORIGSAMP,
 	.newpvt = speexwbtolin16_new,
 	.framein = speextolin_framein,
 	.destroy = speextolin_destroy,
@@ -377,7 +374,6 @@
 	.name = "lin16tospeexwb", 
 	.srcfmt = AST_FORMAT_SLINEAR16,
 	.dstfmt = AST_FORMAT_SPEEX16,
-	.table_cost = AST_TRANS_COST_LL_LY_ORIGSAMP,
 	.newpvt = lin16tospeexwb_new,
 	.framein = lintospeex_framein,
 	.frameout = lintospeex_frameout,




More information about the svn-commits mailing list