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,13 @@
include $(MAKEDIR)/Makefile.base
PROJECTS := libspeex
INCPATH := -I include -I libspeex
LIBFILE := libspeex.a
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=speex
mkdir $LIB
pushd $LIB
git clone --depth 1 https://gitlab.xiph.org/xiph/speex.git --branch Speex-1.2.1
cp -av $DIR/Makefile.* $LIB/
cp -av $DIR/config.h speex/include/
cp -av $DIR/speex_config_types.h speex/include/speex/speex_config_types.h
ln -s $DIR/../../Makefile-template speex/Makefile
pushd speex
make
popd
popd
pushd sdk/include
ln -fs ../../speex/speex/include/speex speex
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;