aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.cpp
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2022-03-02 11:14:59 -0800
committerChris Robinson <chris.kcat@gmail.com>2022-03-02 11:14:59 -0800
commit43682a8c3ece8c2b01fa552390cc64b67e4d8b1e (patch)
tree7c25660bce1477e2f33421317e26de35f3710272 /alc/context.cpp
parentfbac67a6a0f297ca69c9b61da85e90f5c13663ae (diff)
Rework source send distance attenuation handling
Specifically, AL_[EAX]REVERB_ROOM_ROLLOFF_FACTOR always applies to an inverse distance rolloff model, where the source's AL_ROOM_ROLLOFF_FACTOR applies to the selected distance model. Consequently, the normal distance and cone attenuation only needs to be calculated once for all sends, with the effect's room rolloff calculated and applied separately.
Diffstat (limited to 'alc/context.cpp')
0 files changed, 0 insertions, 0 deletions