[asterisk-commits] sruffell: branch sruffell/asterisk-1.4-transcoder r156687 - /team/sruffell/as...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 13 15:05:56 CST 2008


Author: sruffell
Date: Thu Nov 13 15:05:55 2008
New Revision: 156687

URL: http://svn.digium.com/view/asterisk?view=rev&rev=156687
Log:
Hmm...it appears that setting plc_samples to 160 causes the codec to fail to
register....removing it.  This will need a little more investigation, and
probably this codec will need to support native_plc.

Modified:
    team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c

Modified: team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c?view=diff&rev=156687&r1=156686&r2=156687
==============================================================================
--- team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c (original)
+++ team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c Thu Nov 13 15:05:55 2008
@@ -402,7 +402,6 @@
 	zt->t.sample = fakesrc_sample;
 	zt->t.useplc = global_useplc;
 	zt->t.buf_size = BUFFER_SAMPLES * 2;
-	zt->t.plc_samples = 160;
 	zt->t.desc_size = sizeof(struct pvt);
 	if ((res = ast_register_translator(&zt->t))) {
 		free(zt);




More information about the asterisk-commits mailing list