From cd26422ca0a11d05ad467d667108817cacf4a229 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Thu, 3 Dec 2015 13:17:11 -0800 Subject: [PATCH] Fix warnings on OS X --- libraries/audio/src/AudioReverb.cpp | 74 ++++++++++++++--------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/libraries/audio/src/AudioReverb.cpp b/libraries/audio/src/AudioReverb.cpp index f06bbe76ed..ff286d780b 100644 --- a/libraries/audio/src/AudioReverb.cpp +++ b/libraries/audio/src/AudioReverb.cpp @@ -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) {