aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alu.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index 71e2b3ad..c7cf08f3 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -562,8 +562,6 @@ void CalcPanningAndFilters(ALvoice *voice, const ALfloat xpos, const ALfloat ypo
voice->mFlags &= ~(VOICE_HAS_HRTF | VOICE_HAS_NFC);
if(isbformat) /* Special handling for B-Format sources. */
{
- voice->mDirect.Buffer = Device->Dry.Buffer;
- voice->mDirect.Channels = Device->Dry.NumChannels;
if(Distance > std::numeric_limits<float>::epsilon())
{
@@ -805,8 +803,6 @@ void CalcPanningAndFilters(ALvoice *voice, const ALfloat xpos, const ALfloat ypo
else
{
/* Non-HRTF rendering. Use normal panning to the output. */
- voice->mDirect.Buffer = Device->Dry.Buffer;
- voice->mDirect.Channels = Device->Dry.NumChannels;
if(Distance > std::numeric_limits<float>::epsilon())
{