aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/Include/alBuffer.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index 904f2e4a..2a9bd3e1 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -43,18 +43,18 @@ static __inline ALuint FrameSizeFromSrcFmt(enum SrcFmtChannels chans,
/* Storable formats */
enum FmtType {
- FmtUByte,
- FmtShort,
- FmtFloat,
+ FmtUByte = SrcFmtUByte,
+ FmtShort = SrcFmtShort,
+ FmtFloat = SrcFmtFloat,
};
enum FmtChannels {
- FmtMono,
- FmtStereo,
- FmtRear,
- FmtQuad,
- FmtX51,
- FmtX61,
- FmtX71,
+ FmtMono = SrcFmtMono,
+ FmtStereo = SrcFmtStereo,
+ FmtRear = SrcFmtRear,
+ FmtQuad = SrcFmtQuad,
+ FmtX51 = SrcFmtX51,
+ FmtX61 = SrcFmtX61,
+ FmtX71 = SrcFmtX71,
};
ALboolean DecomposeFormat(ALenum format, enum FmtChannels *chans, enum FmtType *type);