diff options
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r-- | Alc/alu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp index cc478a89..e5dcfd01 100644 --- a/Alc/alu.cpp +++ b/Alc/alu.cpp @@ -539,7 +539,7 @@ void CalcPanningAndFilters(ALvoice *voice, const ALfloat xpos, const ALfloat ypo std::for_each(voice->mChans.begin(), voice->mChans.begin()+num_channels, [NumSends](ALvoice::ChannelData &chandata) -> void { - chandata.mDryParams.Hrtf.Target = HrtfParams{}; + chandata.mDryParams.Hrtf.Target = HrtfFilter{}; ClearArray(chandata.mDryParams.Gains.Target); std::for_each(chandata.mWetParams.begin(), chandata.mWetParams.begin()+NumSends, [](SendParams ¶ms) -> void { ClearArray(params.Gains.Target); }); |