aboutsummaryrefslogtreecommitdiffstats
path: root/al/buffer.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-12-02 11:39:30 -0800
committerChris Robinson <[email protected]>2019-12-02 11:51:27 -0800
commit799c60f3bbf041c5eafeb6b3acb7fc5d3f395718 (patch)
tree205e8772dcf9e90ae482f1702c0b5ab3c570e68e /al/buffer.h
parent58e4d643d3daa1d181901f6618ba96919f199f55 (diff)
Add an interface to set a B-Format buffer's layout and scaling
Diffstat (limited to 'al/buffer.h')
-rw-r--r--al/buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/al/buffer.h b/al/buffer.h
index d41eec5d..ad7aeb35 100644
--- a/al/buffer.h
+++ b/al/buffer.h
@@ -79,6 +79,9 @@ struct ALbuffer {
ALuint OriginalSize{0};
ALuint OriginalAlign{0};
+ ALenum AmbiLayout{AL_FUMA_SOFT};
+ ALenum AmbiScaling{AL_FUMA_SOFT};
+
ALuint LoopStart{0u};
ALuint LoopEnd{0u};