aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alBuffer.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-28 13:08:51 -0800
committerChris Robinson <[email protected]>2010-11-28 13:08:51 -0800
commit0e748d98d5db22d259e0803f5318fb61bc7e9c2e (patch)
tree748f04683808db3a8d315e1398d241a9f3589c8e /OpenAL32/Include/alBuffer.h
parentc41e893361f4c912b8c6c4c703bf7590c957318d (diff)
Rename some stuff for consistency
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r--OpenAL32/Include/alBuffer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index c3835f97..1347eebd 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -77,9 +77,9 @@ enum FmtChannels {
FmtStereo,
FmtRear,
FmtQuad,
- Fmt51ChanWFX,
- Fmt61ChanWFX,
- Fmt71ChanWFX,
+ FmtX51,
+ FmtX61,
+ FmtX71,
};
void DecomposeFormat(ALenum format, enum FmtType *type, enum FmtChannels *order);
@@ -103,9 +103,9 @@ static __inline ALuint ChannelsFromFmt(enum FmtChannels chans)
case FmtStereo: return 2;
case FmtRear: return 2;
case FmtQuad: return 4;
- case Fmt51ChanWFX: return 6;
- case Fmt61ChanWFX: return 7;
- case Fmt71ChanWFX: return 8;
+ case FmtX51: return 6;
+ case FmtX61: return 7;
+ case FmtX71: return 8;
}
return 0;
}
@@ -120,11 +120,11 @@ typedef struct ALbuffer
ALvoid *data;
ALsizei size;
- ALsizei frequency;
+ ALsizei Frequency;
enum FmtType FmtType;
enum FmtChannels FmtChannels;
- ALenum eOriginalFormat;
+ ALenum OriginalFormat;
ALsizei OriginalSize;
ALsizei OriginalAlign;