diff options
author | Chris Robinson <[email protected]> | 2011-10-03 10:07:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-10-04 02:08:45 -0700 |
commit | 11caba9807550a01ec5b81f50a6c744b3506115d (patch) | |
tree | 46f060fbea6f49ac1e8c269ee55ce61f6aa8cc52 /OpenAL32/Include/alBuffer.h | |
parent | 35b4b31d57205f0f358202d9e41b594b9465b22b (diff) |
Use sample frames when handling the buffer length
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 0a04316b..cacaa716 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -69,10 +69,11 @@ static __inline ALuint FrameSizeFromFmt(enum FmtChannels chans, enum FmtType typ typedef struct ALbuffer { ALvoid *data; - ALsizei size; - ALsizei Frequency; - ALenum Format; + ALsizei Frequency; + ALenum Format; + ALsizei SampleLen; + enum FmtChannels FmtChannels; enum FmtType FmtType; |