flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 13:00:25 -05:00
commit b308a4c280
114 changed files with 14759 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
include $(MAKEDIR)/Makefile.base
PROJECTS := libspeexdsp
INCPATH := -I include -I libspeex
LIBFILE := libspeexdsp.a
FILTER_OUT_M := %
COPYTO := ../../sdk/lib
_FLAGS := $(_FLAGS) -DHAVE_CONFIG_H
include $(MAKEDIR)/Makefile.lib

View File

@@ -0,0 +1,20 @@
//
// config.h
// Speex
//
// Created by Timothy Prepscius on 3/15/15.
// Copyright (c) 2015 Timothy Prepscius. All rights reserved.
//
#ifndef Speex_config_h
#define Speex_config_h
#define EXPORT
#define USE_SMALLFT
#define HAVE_GETOPT_H
#define HAVE_GETOPT_LONG
//#define FIXED_POINT
#define FLOATING_POINT
#endif

View File

@@ -0,0 +1,28 @@
set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir -p sdk/include
LIB=speexdsp
mkdir $LIB
pushd $LIB
git clone --depth 1 https://gitlab.xiph.org/xiph/speexdsp.git --branch SpeexDSP-1.2.1
cp -av $DIR/Makefile.* $LIB/
cp -av $DIR/config.h $LIB/include/
cp -av $DIR/speexdsp_config_types.h speexdsp/include/speex/speexdsp_config_types.h
mv $LIB/Makefile $LIB/Makefile.no
ln -s $DIR/../../Makefile-template $LIB/Makefile
pushd speexdsp
make
popd
popd
pushd sdk/include
ln -fs ../../speexdsp/speexdsp/include/speex speexdsp
popd

View File

@@ -0,0 +1,7 @@
#include <stdint.h>
#include <sys/types.h>
typedef int16_t spx_int16_t;
typedef u_int16_t spx_uint16_t;
typedef int32_t spx_int32_t;
typedef u_int32_t spx_uint32_t;