diff options
author | Chris Robinson <[email protected]> | 2019-10-05 16:11:38 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-10-05 16:11:38 -0700 |
commit | 267b79f337f2189542ce2582aeed84b84c6e987e (patch) | |
tree | 90a2e65345d4f242af7467e163f7465adbc622e8 /alc/voice.h | |
parent | 1bb93f4fc213e4a93aedd4937ef2a8fa0d160b25 (diff) |
Avoid duplicate structs
Diffstat (limited to 'alc/voice.h')
-rw-r--r-- | alc/voice.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/alc/voice.h b/alc/voice.h index a2a3309c..0d5d9ca4 100644 --- a/alc/voice.h +++ b/alc/voice.h @@ -222,17 +222,12 @@ struct ALvoice { ALuint mFlags; - struct DirectData { + struct TargetData { int FilterType; al::span<FloatBufferLine> Buffer; }; - DirectData mDirect; - - struct SendData { - int FilterType; - al::span<FloatBufferLine> Buffer; - }; - std::array<SendData,MAX_SENDS> mSend; + TargetData mDirect; + std::array<TargetData,MAX_SENDS> mSend; struct ChannelData { alignas(16) std::array<float,MAX_RESAMPLER_PADDING> mPrevSamples; |