dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/codecs
sruffell 859dac960e codecs/codec_dahdi: Prevent "choppy" audio when receiving unexpected frame sizes.
dahdi-linux 2.4.0 (specifically commit 9034) added the capability for
the wctc4xxp to return more than a single packet of data in response to
a read.  However, when decoding packets, codec_dahdi was still assuming
that the default number of samples was in each read.

In other words, each packet your provider sent you, regardless of size,
would result in 20 ms of decoded data (30 ms if decoding G723). If your
provider was sending 60 ms packets then codec_dahdi would end up
stripping 40 ms of data from each transcoded frame resulting in "choppy"
audio.

This would only affect systems where G729 packets are arriving in sizes
greater than 20ms or G723 packets arriving in sizes greater than 30ms.

DAHDI-744.

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@293968 f38db490-d61c-443f-a65b-d21fe96a405b
2010-11-05 00:02:53 +00:00
..
gsm GCC 4.2.x optimizations result in improper behavior of GSM codec 2010-09-09 22:34:35 +00:00
ilbc Merged revisions 110869 via svnmerge from 2008-03-26 16:42:35 +00:00
lpc10 Ensure that user-provided CFLAGS and LDFLAGS are honored. 2009-07-21 13:04:44 +00:00
Makefile Ensure that user-provided CFLAGS and LDFLAGS are honored. 2009-07-21 13:04:44 +00:00
adpcm_slin_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
codec_a_mu.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
codec_adpcm.c 1.4 version of the dead PLC code fix. 2010-06-03 17:39:18 +00:00
codec_alaw.c 1.4 version of the dead PLC code fix. 2010-06-03 17:39:18 +00:00
codec_dahdi.c codecs/codec_dahdi: Prevent "choppy" audio when receiving unexpected frame sizes. 2010-11-05 00:02:53 +00:00
codec_g726.c 1.4 version of the dead PLC code fix. 2010-06-03 17:39:18 +00:00
codec_gsm.c 1.4 version of the dead PLC code fix. 2010-06-03 17:39:18 +00:00
codec_ilbc.c fixes segfault in iLBC 2009-11-06 17:07:13 +00:00
codec_lpc10.c 1.4 version of the dead PLC code fix. 2010-06-03 17:39:18 +00:00
codec_speex.c AST-2009-005 2009-08-10 19:15:57 +00:00
codec_ulaw.c 1.4 version of the dead PLC code fix. 2010-06-03 17:39:18 +00:00
g726_slin_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
gsm_slin_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
ilbc_slin_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
log2comp.h Allow codecs that use log2comp (g726) to compile correctly on x86 with gcc4 optimizations. 2008-03-18 19:23:44 +00:00
lpc10_slin_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
slin_adpcm_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
slin_g726_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
slin_gsm_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
slin_ilbc_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
slin_lpc10_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
slin_speex_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
slin_ulaw_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
speex_slin_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
ulaw_slin_ex.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00