From 09d72665ced9d433126d9c9ab75d9225ec651e6f Mon Sep 17 00:00:00 2001 From: weil Date: Wed, 24 Jan 2024 01:05:41 +0100 Subject: [PATCH] Added libspeex dependency --- 3rdparty/speex/include/speex/speex_jitter.h | 3 +++ 3rdparty/speex/include/speex/speex_resampler.h | 3 +++ 3rdparty/speex/include/speex/speexdsp_config_types.h | 3 +++ 3rdparty/speex/include/speex/speexdsp_types.h | 3 +++ 3rdparty/speex/lib/libspeex.lib | 3 +++ 3rdparty/speex/lib/libspeexdsp.lib | 3 +++ 3rdparty/speex/libspeexdsp/arch.h | 3 +++ 3rdparty/speex/libspeexdsp/jitter.c | 3 +++ 3rdparty/speex/libspeexdsp/os_support.h | 3 +++ 3rdparty/speex/libspeexdsp/resample.c | 3 +++ 3rdparty/speex/libspeexdsp/resample_neon.h | 3 +++ 3rdparty/speex/libspeexdsp/resample_sse.h | 3 +++ 3rdparty/speex/speex_license.txt | 3 +++ 3rdparty/speex/speexdsp_license.txt | 3 +++ SConstruct | 6 +++--- 15 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 3rdparty/speex/include/speex/speex_jitter.h create mode 100644 3rdparty/speex/include/speex/speex_resampler.h create mode 100644 3rdparty/speex/include/speex/speexdsp_config_types.h create mode 100644 3rdparty/speex/include/speex/speexdsp_types.h create mode 100644 3rdparty/speex/lib/libspeex.lib create mode 100644 3rdparty/speex/lib/libspeexdsp.lib create mode 100644 3rdparty/speex/libspeexdsp/arch.h create mode 100644 3rdparty/speex/libspeexdsp/jitter.c create mode 100644 3rdparty/speex/libspeexdsp/os_support.h create mode 100644 3rdparty/speex/libspeexdsp/resample.c create mode 100644 3rdparty/speex/libspeexdsp/resample_neon.h create mode 100644 3rdparty/speex/libspeexdsp/resample_sse.h create mode 100644 3rdparty/speex/speex_license.txt create mode 100644 3rdparty/speex/speexdsp_license.txt diff --git a/3rdparty/speex/include/speex/speex_jitter.h b/3rdparty/speex/include/speex/speex_jitter.h new file mode 100644 index 0000000..bf17e0a --- /dev/null +++ b/3rdparty/speex/include/speex/speex_jitter.h @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cba168fb8beda5518dc64b95cee68be36880aaf4a07c07784d391bd28daca8d +size 7188 diff --git a/3rdparty/speex/include/speex/speex_resampler.h b/3rdparty/speex/include/speex/speex_resampler.h new file mode 100644 index 0000000..223fb5c --- /dev/null +++ b/3rdparty/speex/include/speex/speex_resampler.h @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad50044deec34c2427f961fd8e3af4e757c13b6b6088aa99bbfa81b10015c5d6 +size 14730 diff --git a/3rdparty/speex/include/speex/speexdsp_config_types.h b/3rdparty/speex/include/speex/speexdsp_config_types.h new file mode 100644 index 0000000..3da6625 --- /dev/null +++ b/3rdparty/speex/include/speex/speexdsp_config_types.h @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f18bf8fe9c4fc150fc4f11978023436f436b3af2de28391a70fae3d4c53db2d7 +size 123 diff --git a/3rdparty/speex/include/speex/speexdsp_types.h b/3rdparty/speex/include/speex/speexdsp_types.h new file mode 100644 index 0000000..a138c23 --- /dev/null +++ b/3rdparty/speex/include/speex/speexdsp_types.h @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f97187c057fd8493c787f2526752859cf57007d50fef8d2e03c9b79b2fed490 +size 3591 diff --git a/3rdparty/speex/lib/libspeex.lib b/3rdparty/speex/lib/libspeex.lib new file mode 100644 index 0000000..8ac3173 --- /dev/null +++ b/3rdparty/speex/lib/libspeex.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8309cefc87fed16dfce49352336f8b430881e8044e44151044510713a759413 +size 1847454 diff --git a/3rdparty/speex/lib/libspeexdsp.lib b/3rdparty/speex/lib/libspeexdsp.lib new file mode 100644 index 0000000..9ef7f77 --- /dev/null +++ b/3rdparty/speex/lib/libspeexdsp.lib @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74015a1af5b64785a4804728ea196cfdf2488e9a9da60c9aacbf16da50d12ba6 +size 1267086 diff --git a/3rdparty/speex/libspeexdsp/arch.h b/3rdparty/speex/libspeexdsp/arch.h new file mode 100644 index 0000000..1a636f9 --- /dev/null +++ b/3rdparty/speex/libspeexdsp/arch.h @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:102f6a14a95f8ae0bcfc69270f3a9e3fbba08b63bba688ca524f71e3faa48c23 +size 6682 diff --git a/3rdparty/speex/libspeexdsp/jitter.c b/3rdparty/speex/libspeexdsp/jitter.c new file mode 100644 index 0000000..4b26446 --- /dev/null +++ b/3rdparty/speex/libspeexdsp/jitter.c @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7243eb8c585e189a5142280fa5d888bb4af36643ca9847e51782f8ad62c8c017 +size 29152 diff --git a/3rdparty/speex/libspeexdsp/os_support.h b/3rdparty/speex/libspeexdsp/os_support.h new file mode 100644 index 0000000..6f9deb9 --- /dev/null +++ b/3rdparty/speex/libspeexdsp/os_support.h @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ab9c979e8ac1f72c7441d24e39e7840828dd9356aac49a31eabeddb808bf1d3 +size 5305 diff --git a/3rdparty/speex/libspeexdsp/resample.c b/3rdparty/speex/libspeexdsp/resample.c new file mode 100644 index 0000000..69439fa --- /dev/null +++ b/3rdparty/speex/libspeexdsp/resample.c @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07b1b97fb6cdedf751a62829e9954ac6e2089ed6e050af56485f5cb913b3191c +size 44181 diff --git a/3rdparty/speex/libspeexdsp/resample_neon.h b/3rdparty/speex/libspeexdsp/resample_neon.h new file mode 100644 index 0000000..c955d70 --- /dev/null +++ b/3rdparty/speex/libspeexdsp/resample_neon.h @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:860b5b49665fae12fc143d048aca7575832d7e9db7b15a690ec29ced2d4fcc6e +size 10395 diff --git a/3rdparty/speex/libspeexdsp/resample_sse.h b/3rdparty/speex/libspeexdsp/resample_sse.h new file mode 100644 index 0000000..13debb7 --- /dev/null +++ b/3rdparty/speex/libspeexdsp/resample_sse.h @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:350c061b7045107ee288a9964f5bd955ec570e5de4f8ce1faf593b024ae7e52a +size 4630 diff --git a/3rdparty/speex/speex_license.txt b/3rdparty/speex/speex_license.txt new file mode 100644 index 0000000..28002d9 --- /dev/null +++ b/3rdparty/speex/speex_license.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f7da870f459a3cf82b344266dc8e6a368c75e5af667cc4baad43579eb84bcc1 +size 1474 diff --git a/3rdparty/speex/speexdsp_license.txt b/3rdparty/speex/speexdsp_license.txt new file mode 100644 index 0000000..6c2c1cd --- /dev/null +++ b/3rdparty/speex/speexdsp_license.txt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b86accd6e227bc227d3af32df4b249beb558a4eaad647eb23617a10deb863f98 +size 1806 diff --git a/SConstruct b/SConstruct index 110007a..7aec170 100644 --- a/SConstruct +++ b/SConstruct @@ -10,9 +10,9 @@ env.Append(CPPPATH=["src/"]) sources = Glob("src/*.cpp") # Opus (Windows x64) -env.Append(CPPPATH=['#3rdparty/opus/include']) -env.Append(LIBPATH=['#3rdparty/opus/lib']) -env.Append(LIBS=['opus']) +env.Append(CPPPATH=['#3rdparty/opus/include', '#3rdparty/speex/include']) +env.Append(LIBPATH=['#3rdparty/opus/lib', '#3rdparty/speex/lib']) +env.Append(LIBS=['opus', 'libspeex', 'libspeexdsp']) (extension_path,) = glob("export/addons/*/*.gdextension") addon_path = Path(extension_path).parent