fix missing logic in our poor man's vad

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5300 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-06-09 19:01:43 +00:00
parent eb80c72f71
commit 2056ac0e35
10 changed files with 4509 additions and 5010 deletions

View File

@@ -257,7 +257,7 @@ static const switch_codec_implementation_t raw_16k_30ms_implementation = {
static const switch_codec_implementation_t raw_16k_20ms_implementation = {
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
/*.ianacode */ 117,
/*.iananame */ "L16",
/*.iananame */ "L16_16k",
/*.fmtp */ NULL,
/*.samples_per_second = */ 16000,
/*.bits_per_second = */ 256000,

View File

@@ -283,7 +283,7 @@ static const switch_codec_implementation_t speex_32k_implementation = {
static const switch_codec_implementation_t speex_16k_implementation = {
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
/*.ianacode */ 99,
/*.ianacode */ 100,
/*.iananame */ "speex",
/*.fmtp */ NULL,
/*.samples_per_second */ 16000,