diff options
author | Chris Robinson <[email protected]> | 2019-03-22 19:25:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-03-22 19:25:55 -0700 |
commit | 3a6e741e900bbfbee99906c780402455637c223a (patch) | |
tree | 814197465cfdc027ac8c7c485f0f33ef2ffea08f /OpenAL32/Include/alAuxEffectSlot.h | |
parent | 92adfaebcecd305bc6fce43a40b41971bfe564b3 (diff) |
Use MixParams for the wet buffers
Diffstat (limited to 'OpenAL32/Include/alAuxEffectSlot.h')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index b3323578..c6f85a93 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -71,13 +71,15 @@ struct ALeffectslot { /* Self ID */ ALuint id{}; + /* Mixing buffer used by the Wet mix. */ + al::vector<std::array<ALfloat,BUFFERSIZE>,16> MixBuffer; + /* Wet buffer configuration is ACN channel order with N3D scaling. * Consequently, effects that only want to work with mono input can use * channel 0 by itself. Effects that want multichannel can process the * ambisonics signal and make a B-Format source pan. */ - al::vector<std::array<ALfloat,BUFFERSIZE>,16> WetBuffer; - BFChannelConfig ChanMap[MAX_AMBI_CHANNELS]; + MixParams Wet; ALeffectslot() { PropsClean.test_and_set(std::memory_order_relaxed); } ALeffectslot(const ALeffectslot&) = delete; |