Use the correct size for defaultCoeffs

This commit is contained in:
Chris Robinson
2012-09-11 10:43:53 -07:00
parent 01183ad93b
commit 88b0c30152
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ static const ALubyte defaultAzCount[19] = { 1, 12, 24, 36, 45, 56, 60, 72, 72, 7
static const ALushort defaultEvOffset[19] = { 0, 1, 13, 37, 73, 118, 174, 234, 306, 378, 450, 522, 594, 654, 710, 755, 791, 815, 827, };
/* HRIR Coefficients */
static const ALshort defaultCoeffs[848700] =
static const ALshort defaultCoeffs[26496] =
{
+6245, +8418, +3440, +2877, +1077, +321, +880, -856, -2486, -1290, +621, -142, -628, -1106, -998, -404, -239, -201, -81, -135, -380, -198, -420, -329, -410, -617, -487, -329, -204, -95, -4, -149,
+7068, +8719, +2927, +3268, +1110, +3, +858, -795, -2531, -1655, +570, +83, -609, -924, -969, -915, -357, -74, -200, -216, -480, -309, -445, -371, -399, -558, -515, -245, -99, -75, -3, -178,
+1 -1
View File
@@ -1820,7 +1820,7 @@ static int StoreTable (const HrirDataT * hData, const char * filename) {
n = hData -> mIrPoints;
snprintf (text, 128, "};\n\n"
"/* HRIR Coefficients */\n"
"static const ALshort defaultCoeffs[%u] =\n{\n", end);
"static const ALshort defaultCoeffs[%u] =\n{\n", hData -> mIrCount * n);
if (! WriteAscii (text, fp, filename))
return (0);
srand (0x31DF840C);