80 lines
2.2 KiB
C
80 lines
2.2 KiB
C
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
/***************************************************************************
|
||
|
* au88x0_a3ddata.c
|
||
|
*
|
||
|
* Wed Nov 19 21:11:32 2003
|
||
|
* Copyright 2003 mjander
|
||
|
* mjander@users.sourceforge.org
|
||
|
****************************************************************************/
|
||
|
|
||
|
/*
|
||
|
*/
|
||
|
|
||
|
/* Constant initializer values. */
|
||
|
|
||
|
static const a3d_Hrtf_t A3dHrirZeros = {
|
||
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0,
|
||
|
0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0,
|
||
|
0, 0, 0
|
||
|
};
|
||
|
|
||
|
static const a3d_Hrtf_t A3dHrirImpulse = {
|
||
|
0x7fff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0,
|
||
|
0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0,
|
||
|
0, 0, 0
|
||
|
};
|
||
|
|
||
|
static const a3d_Hrtf_t A3dHrirOnes = {
|
||
|
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
|
||
|
0x7fff,
|
||
|
0x7fff,
|
||
|
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
|
||
|
0x7fff,
|
||
|
0x7fff,
|
||
|
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
|
||
|
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
|
||
|
0x7fff,
|
||
|
0x7fff,
|
||
|
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
|
||
|
0x7fff,
|
||
|
0x7fff,
|
||
|
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff
|
||
|
};
|
||
|
|
||
|
static const a3d_Hrtf_t A3dHrirSatTest = {
|
||
|
0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff, 0x7fff,
|
||
|
0x7fff,
|
||
|
0x7fff,
|
||
|
0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001,
|
||
|
0x8001,
|
||
|
0x8001,
|
||
|
0x7fff, 0x0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||
|
};
|
||
|
|
||
|
static const a3d_Hrtf_t A3dHrirDImpulse = {
|
||
|
0, 0x7fff, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0,
|
||
|
0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0,
|
||
|
0, 0, 0
|
||
|
};
|
||
|
|
||
|
static const a3d_ItdDline_t A3dItdDlineZeros = {
|
||
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||
|
};
|
||
|
|
||
|
static short const GainTCDefault = 0x300;
|
||
|
static short const ItdTCDefault = 0x0C8;
|
||
|
static short const HrtfTCDefault = 0x147;
|
||
|
static short const CoefTCDefault = 0x300;
|