summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/DPL2Decoder.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2013-01-11 14:20:22 +1100
committerskidau <skidau@gmail.com>2013-01-11 14:20:22 +1100
commited5a68a5040416fe744119069960d1e29b3518eb (patch)
tree7fd14c85623dabd5c7c42ec62c1dcdca553df365 /Source/Core/AudioCommon/Src/DPL2Decoder.cpp
parent80f4475e76be299e19ff88283d8f8aa02726506b (diff)
Build fix
Diffstat (limited to 'Source/Core/AudioCommon/Src/DPL2Decoder.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/DPL2Decoder.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Src/DPL2Decoder.cpp b/Source/Core/AudioCommon/Src/DPL2Decoder.cpp
index 4efedc4b44..a5d2720878 100644
--- a/Source/Core/AudioCommon/Src/DPL2Decoder.cpp
+++ b/Source/Core/AudioCommon/Src/DPL2Decoder.cpp
@@ -22,6 +22,9 @@
#include <functional>
#include <vector>
+#include <math.h>
+#include <stdlib.h>
+#include <string.h>
#include "DPL2Decoder.h"
#define M_PI 3.14159265358979323846
@@ -315,7 +318,7 @@ void matrix_decode(const float *in, const int k, const int il,
void dpl2decode(float *samples, int numsamples, float *out)
{
static const unsigned int FWRDURATION = 240; /* FWR average duration (samples) */
- static const unsigned int cfg_delay = 0;
+ static const int cfg_delay = 0;
static const unsigned int fmt_freq = 48000;
static const unsigned int fmt_nchannels = 2; // input channels