From c8ee4d21cee0f96775f5ddf5448f8073a9249bf5 Mon Sep 17 00:00:00 2001 From: markster Date: Sat, 7 Apr 2001 01:32:10 +0000 Subject: Version 0.1.8 from FTP git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266 f38db490-d61c-443f-a65b-d21fe96a405b --- codecs/Makefile | 2 +- codecs/slin_ulaw_ex.h | 25 +++++++++++++++++++++++++ codecs/ulaw_slin_ex.h | 25 +++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100755 codecs/slin_ulaw_ex.h create mode 100755 codecs/ulaw_slin_ex.h (limited to 'codecs') diff --git a/codecs/Makefile b/codecs/Makefile index b07d72c64..da84127e5 100755 --- a/codecs/Makefile +++ b/codecs/Makefile @@ -28,7 +28,7 @@ LIBGSM=gsm/lib/libgsm.a LIBMP3=mp3/libmp3.a LIBLPC10=lpc10/liblpc10.a -CODECS+=$(MODG723) codec_gsm.so codec_mp3_d.so codec_lpc10.so codec_adpcm.so +CODECS+=$(MODG723) codec_gsm.so codec_mp3_d.so codec_lpc10.so codec_adpcm.so codec_ulaw.so all: $(CODECS) diff --git a/codecs/slin_ulaw_ex.h b/codecs/slin_ulaw_ex.h new file mode 100755 index 000000000..c9016aef0 --- /dev/null +++ b/codecs/slin_ulaw_ex.h @@ -0,0 +1,25 @@ +/* + * slin_ulaw_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_ulaw_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 +}; diff --git a/codecs/ulaw_slin_ex.h b/codecs/ulaw_slin_ex.h new file mode 100755 index 000000000..897808f24 --- /dev/null +++ b/codecs/ulaw_slin_ex.h @@ -0,0 +1,25 @@ +/* + * ulaw_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 ulaw_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 +}; -- cgit v1.2.3