aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-04-07 01:32:10 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-04-07 01:32:10 +0000
commitc8ee4d21cee0f96775f5ddf5448f8073a9249bf5 (patch)
tree7e8909cb758f825c8dcd9ee435cc80a205c14dca
parent335636e3d8bc6cc9f37b47250593a9791c46a021 (diff)
Version 0.1.8 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xcodecs/Makefile2
-rwxr-xr-xcodecs/slin_ulaw_ex.h25
-rwxr-xr-xcodecs/ulaw_slin_ex.h25
3 files changed, 51 insertions, 1 deletions
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
+};