Add G.726-32kbps Codec Transcoder (Tested with Cisco ATA-186)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-02-25 04:10:32 +00:00
parent 96abbad91d
commit ff976ce055
5 changed files with 1000 additions and 2 deletions

25
codecs/g726_slin_ex.h Executable file
View File

@@ -0,0 +1,25 @@
/*
* adpcm_slin_ex.h --
*
* 4-bit G.726 data, 20 milliseconds worth at 8 kHz.
*
* Source: g726.example
*
* Copyright (C) 2001, Linux Support Services, Inc.
*
* Distributed under the terms of the GNU General Public License
*
*/
static unsigned char g726_slin_ex[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};