Move the bsinc tables to core
parent
36c1589c11
commit
84d47f7d4c
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <limits>
|
||||
|
||||
#include "alnumeric.h"
|
||||
#include "bsinc_defs.h"
|
||||
#include "core/bsinc_defs.h"
|
||||
#include "defs.h"
|
||||
#include "hrtfbase.h"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <limits>
|
||||
|
||||
#include "alnumeric.h"
|
||||
#include "bsinc_defs.h"
|
||||
#include "core/bsinc_defs.h"
|
||||
#include "defs.h"
|
||||
#include "hrtfbase.h"
|
||||
|
||||
|
|
|
@ -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 */
|
|
@ -10,7 +10,6 @@
|
|||
#include <stdexcept>
|
||||
|
||||
#include "math_defs.h"
|
||||
#include "vector.h"
|
||||
|
||||
|
||||
namespace {
|
|
@ -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 */
|
Loading…
Reference in New Issue