aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r--alc/alu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp
index 207c7c84..7b844c58 100644
--- a/alc/alu.cpp
+++ b/alc/alu.cpp
@@ -993,7 +993,7 @@ void CalcPanningAndFilters(Voice *voice, const float xpos, const float ypos, con
for(size_t c{0};c < num_channels;c++)
{
uint idx{Device->channelIdxByName(chans[c].channel)};
- if(idx != INVALID_CHANNEL_INDEX)
+ if(idx != InvalidChannelIndex)
voice->mChans[c].mDryParams.Gains.Target[idx] = DryGain.Base;
else if(DirectChannels == DirectMode::RemixMismatch)
{
@@ -1006,7 +1006,7 @@ void CalcPanningAndFilters(Voice *voice, const float xpos, const float ypos, con
for(const auto &target : remap->targets)
{
idx = Device->channelIdxByName(target.channel);
- if(idx != INVALID_CHANNEL_INDEX)
+ if(idx != InvalidChannelIndex)
voice->mChans[c].mDryParams.Gains.Target[idx] = DryGain.Base *
target.mix;
}
@@ -1197,7 +1197,7 @@ void CalcPanningAndFilters(Voice *voice, const float xpos, const float ypos, con
if(Device->Dry.Buffer.data() == Device->RealOut.Buffer.data())
{
const uint idx{Device->channelIdxByName(chans[c].channel)};
- if(idx != INVALID_CHANNEL_INDEX)
+ if(idx != InvalidChannelIndex)
voice->mChans[c].mDryParams.Gains.Target[idx] = DryGain.Base;
}
continue;
@@ -1263,7 +1263,7 @@ void CalcPanningAndFilters(Voice *voice, const float xpos, const float ypos, con
if(Device->Dry.Buffer.data() == Device->RealOut.Buffer.data())
{
const uint idx{Device->channelIdxByName(chans[c].channel)};
- if(idx != INVALID_CHANNEL_INDEX)
+ if(idx != InvalidChannelIndex)
voice->mChans[c].mDryParams.Gains.Target[idx] = DryGain.Base;
}
continue;