From 75260d742aa0db075a19be5fa11c1958e01f9fc6 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Tue, 20 Mar 2001 16:13:34 +0000 Subject: [PATCH] Version 0.1.7 from FTP git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@242 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/adpcm_slin_ex.h | 25 +++++++++++++++++++++++++ codecs/slin_adpcm_ex.h | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100755 codecs/adpcm_slin_ex.h create mode 100755 codecs/slin_adpcm_ex.h diff --git a/codecs/adpcm_slin_ex.h b/codecs/adpcm_slin_ex.h new file mode 100755 index 0000000000..925391d179 --- /dev/null +++ b/codecs/adpcm_slin_ex.h @@ -0,0 +1,25 @@ +/* + * adpcm_slin_ex.h -- + * + * 4-bit ADPCM data, 20 milliseconds worth at 8 kHz. + * + * Source: g723.example + * + * Copyright (C) 2001, Linux Support Services, Inc. + * + * Distributed under the terms of the GNU General Public License + * + */ + +static unsigned char adpcm_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 +}; diff --git a/codecs/slin_adpcm_ex.h b/codecs/slin_adpcm_ex.h new file mode 100755 index 0000000000..fb3a77eda3 --- /dev/null +++ b/codecs/slin_adpcm_ex.h @@ -0,0 +1,25 @@ +/* + * slin_adpcm_ex.h -- + * + * Signed 16-bit audio data, 10 milliseconds worth at 8 kHz. + * + * Source: g723.example + * + * Copyright (C) 2001, Linux Support Services, Inc. + * + * Distributed under the terms of the GNU General Public License + * + */ + +static signed short slin_adpcm_ex[] = { + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 +};