Move the bsinc tables to core

master
Chris Robinson 2020-12-04 07:35:40 -08:00
parent 36c1589c11
commit 84d47f7d4c
8 changed files with 14 additions and 16 deletions

View File

@ -627,6 +627,9 @@ set(OPENAL_OBJS
al/state.cpp
)
set(ALC_OBJS
core/bsinc_defs.h
core/bsinc_tables.cpp
core/bsinc_tables.h
core/bufferline.h
core/devformat.cpp
core/devformat.h
@ -647,9 +650,6 @@ set(ALC_OBJS
alc/bformatdec.h
alc/bs2b.cpp
alc/bs2b.h
alc/bsinc_defs.h
alc/bsinc_tables.cpp
alc/bsinc_tables.h
alc/buffer_storage.cpp
alc/buffer_storage.h
alc/compat.h

View File

@ -59,6 +59,7 @@
#include "atomic.h"
#include "bformatdec.h"
#include "bs2b.h"
#include "core/bsinc_tables.h"
#include "core/devformat.h"
#include "core/mastering.h"
#include "cpu_caps.h"
@ -80,8 +81,6 @@
#include "vecmat.h"
#include "voice.h"
#include "bsinc_tables.h"
struct CTag;
#ifdef HAVE_SSE
struct SSETag;

View File

@ -5,8 +5,8 @@
#include <limits>
#include "alcmain.h"
#include "alu.h"
#include "bsinc_defs.h"
#include "alnumeric.h"
#include "core/bsinc_tables.h"
#include "defs.h"
#include "hrtfbase.h"

View File

@ -5,7 +5,7 @@
#include <limits>
#include "alnumeric.h"
#include "bsinc_defs.h"
#include "core/bsinc_defs.h"
#include "defs.h"
#include "hrtfbase.h"

View File

@ -5,7 +5,7 @@
#include <limits>
#include "alnumeric.h"
#include "bsinc_defs.h"
#include "core/bsinc_defs.h"
#include "defs.h"
#include "hrtfbase.h"

View File

@ -1,5 +1,5 @@
#ifndef BSINC_DEFS_H
#define BSINC_DEFS_H
#ifndef CORE_BSINC_DEFS_H
#define CORE_BSINC_DEFS_H
/* The number of distinct scale and phase intervals within the filter table. */
constexpr unsigned int BSincScaleBits{4};
@ -13,4 +13,4 @@ constexpr unsigned int BSincPhaseCount{1 << BSincPhaseBits};
*/
constexpr unsigned int BSincPointsMax{48};
#endif /* BSINC_DEFS_H */
#endif /* CORE_BSINC_DEFS_H */

View File

@ -10,7 +10,6 @@
#include <stdexcept>
#include "math_defs.h"
#include "vector.h"
namespace {

View File

@ -1,5 +1,5 @@
#ifndef BSINC_TABLES_H
#define BSINC_TABLES_H
#ifndef CORE_BSINC_TABLES_H
#define CORE_BSINC_TABLES_H
#include "bsinc_defs.h"
@ -14,4 +14,4 @@ struct BSincTable {
extern const BSincTable bsinc12;
extern const BSincTable bsinc24;
#endif /* BSINC_TABLES_H */
#endif /* CORE_BSINC_TABLES_H */