diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-02-05 04:04:35 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-02-05 04:04:35 -0500 |
| commit | 249b00c4691fb4dbd9e1c833ceccc53526babd21 (patch) | |
| tree | 30463902455976f0c3dee3e376527fe3ac743f31 /Source/Core/AudioCommon/DPL2Decoder.cpp | |
| parent | 6b87a0ef202c614e370d74291c1f754492524aaf (diff) | |
Change the modified parameter in the Clamp function to be a pointer.
Makes it easier to identify the one being modified.
Diffstat (limited to 'Source/Core/AudioCommon/DPL2Decoder.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/DPL2Decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/DPL2Decoder.cpp b/Source/Core/AudioCommon/DPL2Decoder.cpp index 0c9fd65400..399541c1c9 100644 --- a/Source/Core/AudioCommon/DPL2Decoder.cpp +++ b/Source/Core/AudioCommon/DPL2Decoder.cpp @@ -123,7 +123,7 @@ float* design_fir(unsigned int *n, float* fc, float opt) // Sanity check if(*n==0) return NULL; - MathUtil::Clamp(fc[0],float(0.001),float(1)); + MathUtil::Clamp(&fc[0],float(0.001),float(1)); float *w=(float*)calloc(sizeof(float),*n); |
