summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-05-12 01:36:09 -0700
committerChris Robinson <[email protected]>2010-05-12 01:36:09 -0700
commitf2548570b85b6deaba57f1bfa2ded87bf2f42886 (patch)
treebd712c733ea530b3d8bba4f0bd5217658616a4c8 /OpenAL32/Include
parentd678f1d88bbb2eceef98cb414b580b22b7881b68 (diff)
Store the buffer's original data size and block alignment
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alBuffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index 9561b057..81721de2 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -18,6 +18,9 @@ typedef struct ALbuffer
ALenum eOriginalFormat;
ALsizei frequency;
+ ALsizei OriginalSize;
+ ALsizei OriginalAlign;
+
ALuint refcount; // Number of sources using this buffer (deletion can only occur when this is 0)
// Index to itself