aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/compressor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/effects/compressor.cpp')
-rw-r--r--alc/effects/compressor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/compressor.cpp b/alc/effects/compressor.cpp
index c57bd58c..299394cf 100644
--- a/alc/effects/compressor.cpp
+++ b/alc/effects/compressor.cpp
@@ -65,7 +65,7 @@ namespace {
struct CompressorState final : public EffectState {
/* Effect gains for each channel */
struct {
- uint mTarget{INVALID_CHANNEL_INDEX};
+ uint mTarget{InvalidChannelIndex};
float mGain{1.0f};
} mChans[MaxAmbiChannels];
@@ -168,7 +168,7 @@ void CompressorState::process(const size_t samplesToDo,
for(const auto &input : samplesIn)
{
const size_t outidx{chan->mTarget};
- if(outidx != INVALID_CHANNEL_INDEX)
+ if(outidx != InvalidChannelIndex)
{
const float *RESTRICT src{input.data() + base};
float *RESTRICT dst{samplesOut[outidx].data() + base};