diff options
author | Chris Robinson <[email protected]> | 2019-03-23 13:30:15 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-03-23 13:30:15 -0700 |
commit | 6df673e01c98b34deac49c703b2f5f1530f30855 (patch) | |
tree | c4f75a8713396006e22215a10d9147921ae2f37d /Alc | |
parent | 819ec8a653ac34684fb27cd0f637cdf1fcbe0a67 (diff) |
Don't redundantly set the voice's direct output buffer
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/alu.cpp | 4 |
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()) { |