aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alBuffer.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-21 23:35:28 -0800
committerChris Robinson <[email protected]>2018-01-21 23:35:28 -0800
commit5f3ae527c92fa1fda0ea87be9629db2c320831ec (patch)
tree52a8a28507c408b20c1355f6446f592b8c0f5dc2 /OpenAL32/Include/alBuffer.h
parentdb13af1935f969bb579fca9d79c6600d91c0fe32 (diff)
More cleanup for buffer loading
Don't bother with unnecessary and unused converters, and remove some unsupported queries.
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r--OpenAL32/Include/alBuffer.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index 5f1e6826..e89d3c96 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -71,19 +71,17 @@ inline ALsizei FrameSizeFromFmt(enum FmtChannels chans, enum FmtType type)
typedef struct ALbuffer {
ALvoid *data;
- ALsizei Frequency;
- ALenum Format;
+ ALsizei Frequency;
ALbitfieldSOFT Access;
- ALsizei SampleLen;
+ ALsizei SampleLen;
enum FmtChannels FmtChannels;
enum FmtType FmtType;
- ALuint BytesAlloc;
+ ALsizei BytesAlloc;
- enum UserFmtChannels OriginalChannels;
- enum UserFmtType OriginalType;
- ALsizei OriginalSize;
- ALsizei OriginalAlign;
+ enum UserFmtType OriginalType;
+ ALsizei OriginalSize;
+ ALsizei OriginalAlign;
ALsizei LoopStart;
ALsizei LoopEnd;