mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
Fix warnings on OS X
This commit is contained in:
parent
44e137ec01
commit
cd26422ca0
1 changed files with 37 additions and 37 deletions
|
@ -1324,64 +1324,64 @@ static int scaleDelay(float delay, float sampleRate) {
|
|||
// input clamped to [0.0f, 100.0f]
|
||||
//
|
||||
static const float earlyMix0Table[][2] = {
|
||||
0.0000f, 0.6000f,
|
||||
63.3333f, 0.0800f,
|
||||
83.3333f, 0.0200f,
|
||||
93.3333f, 0.0048f,
|
||||
100.0000f, 0.0048f,
|
||||
{0.0000f, 0.6000f},
|
||||
{63.3333f, 0.0800f},
|
||||
{83.3333f, 0.0200f},
|
||||
{93.3333f, 0.0048f},
|
||||
{100.0000f, 0.0048f},
|
||||
};
|
||||
|
||||
static const float earlyMix1Table[][2] = {
|
||||
0.0000f, 0.3360f,
|
||||
20.0000f, 0.6000f,
|
||||
100.0000f, 0.0240f,
|
||||
{0.0000f, 0.3360f},
|
||||
{20.0000f, 0.6000f},
|
||||
{100.0000f, 0.0240f},
|
||||
};
|
||||
|
||||
static const float earlyMix2Table[][2] = {
|
||||
0.0000f, 0.0480f,
|
||||
13.3333f, 0.0960f,
|
||||
53.3333f, 0.9600f,
|
||||
100.0000f, 0.1200f,
|
||||
{0.0000f, 0.0480f},
|
||||
{13.3333f, 0.0960f},
|
||||
{53.3333f, 0.9600f},
|
||||
{100.0000f, 0.1200f},
|
||||
};
|
||||
|
||||
static const float lateMix0Table[][2] = {
|
||||
0.0000f, 0.1250f,
|
||||
13.3333f, 0.1875f,
|
||||
66.6666f, 0.7500f,
|
||||
100.0000f, 0.8750f,
|
||||
{0.0000f, 0.1250f},
|
||||
{13.3333f, 0.1875f},
|
||||
{66.6666f, 0.7500f},
|
||||
{100.0000f, 0.8750f},
|
||||
};
|
||||
|
||||
static const float lateMix1Table[][2] = {
|
||||
0.0000f, 0.9990f,
|
||||
33.3333f, 0.5000f,
|
||||
66.6666f, 0.9990f,
|
||||
93.3333f, 0.6000f,
|
||||
100.0000f, 0.6000f,
|
||||
{0.0000f, 0.9990f},
|
||||
{33.3333f, 0.5000f},
|
||||
{66.6666f, 0.9990f},
|
||||
{93.3333f, 0.6000f},
|
||||
{100.0000f, 0.6000f},
|
||||
};
|
||||
|
||||
static const float lateMix2Table[][2] = {
|
||||
0.0000f, 0.9990f,
|
||||
33.3333f, 0.9990f,
|
||||
63.3333f, 0.4500f,
|
||||
100.0000f, 0.9990f,
|
||||
{0.0000f, 0.9990f},
|
||||
{33.3333f, 0.9990f},
|
||||
{63.3333f, 0.4500f},
|
||||
{100.0000f, 0.9990f},
|
||||
};
|
||||
|
||||
static const float diffusionCoefTable[][2] = {
|
||||
0.0000f, 0.0000f,
|
||||
20.0000f, 0.0470f,
|
||||
33.3333f, 0.0938f,
|
||||
46.6666f, 0.1563f,
|
||||
60.0000f, 0.2344f,
|
||||
73.3333f, 0.3125f,
|
||||
93.3333f, 0.5000f,
|
||||
100.0000f, PHI,
|
||||
{0.0000f, 0.0000f},
|
||||
{20.0000f, 0.0470f},
|
||||
{33.3333f, 0.0938f},
|
||||
{46.6666f, 0.1563f},
|
||||
{60.0000f, 0.2344f},
|
||||
{73.3333f, 0.3125f},
|
||||
{93.3333f, 0.5000f},
|
||||
{100.0000f, PHI},
|
||||
};
|
||||
|
||||
static const float roomSizeTable[][2] = {
|
||||
0.0000f, 0.1500f,
|
||||
25.0000f, 0.3000f,
|
||||
50.0000f, 0.5000f,
|
||||
100.0000f, 1.0000f,
|
||||
{0.0000f, 0.1500f},
|
||||
{25.0000f, 0.3000f},
|
||||
{50.0000f, 0.5000f},
|
||||
{100.0000f, 1.0000f},
|
||||
};
|
||||
|
||||
static float interpolateTable(const float table[][2], float x) {
|
||||
|
|
Loading…
Reference in a new issue