diff options
author | Chris Robinson <[email protected]> | 2019-06-24 13:21:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-06-24 13:21:06 -0700 |
commit | eb5ff42d158ecc1b7675bf7692a32c21404f5adf (patch) | |
tree | 09d034f6f55ba8d3cc2a727afeea2314a1d1ef2a /Alc | |
parent | e8cef0cdae5675f3d23f0de9e9093734c74ababb (diff) |
Correctly index the send params
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/mixvoice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixvoice.cpp b/Alc/mixvoice.cpp index e410e50e..7be65f65 100644 --- a/Alc/mixvoice.cpp +++ b/Alc/mixvoice.cpp @@ -567,7 +567,7 @@ void MixVoice(ALvoice *voice, ALvoice::State vstate, const ALuint SourceID, ALCc if(voice->mSend[send].Buffer.empty()) continue; - SendParams &parms = chandata.mWetParams[chan]; + SendParams &parms = chandata.mWetParams[send]; std::copy(std::begin(parms.Gains.Target), std::end(parms.Gains.Target), std::begin(parms.Gains.Current)); } |