diff options
Diffstat (limited to 'Alc/effects/autowah.cpp')
-rw-r--r-- | Alc/effects/autowah.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/effects/autowah.cpp b/Alc/effects/autowah.cpp index ab885460..90af6134 100644 --- a/Alc/effects/autowah.cpp +++ b/Alc/effects/autowah.cpp @@ -119,8 +119,7 @@ void ALautowahState::update(const ALCcontext *context, const ALeffectslot *slot, mFreqMinNorm = MIN_FREQ / device->Frequency; mBandwidthNorm = (MAX_FREQ-MIN_FREQ) / device->Frequency; - mOutBuffer = target.Main->Buffer; - mOutChannels = target.Main->NumChannels; + mOutTarget = {target.Main->Buffer, target.Main->NumChannels}; for(ALuint i{0u};i < slot->Wet.NumChannels;++i) { auto coeffs = GetAmbiIdentityRow(i); |