diff options
-rw-r--r-- | al/buffer.cpp | 4 | ||||
-rw-r--r-- | alc/alc.cpp | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp index 0292a066..19d3c841 100644 --- a/al/buffer.cpp +++ b/al/buffer.cpp @@ -391,8 +391,8 @@ const ALchar *NameFromUserFmtType(UserFmtType type) { switch(type) { - case UserFmtUByte: return "Unsigned Byte"; - case UserFmtShort: return "Signed Short"; + case UserFmtUByte: return "UInt8"; + case UserFmtShort: return "Int16"; case UserFmtFloat: return "Float32"; case UserFmtDouble: return "Float64"; case UserFmtMulaw: return "muLaw"; diff --git a/alc/alc.cpp b/alc/alc.cpp index dcca795f..ea977de7 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -1286,13 +1286,13 @@ const ALCchar *DevFmtTypeString(DevFmtType type) noexcept { switch(type) { - case DevFmtByte: return "Signed Byte"; - case DevFmtUByte: return "Unsigned Byte"; - case DevFmtShort: return "Signed Short"; - case DevFmtUShort: return "Unsigned Short"; - case DevFmtInt: return "Signed Int"; - case DevFmtUInt: return "Unsigned Int"; - case DevFmtFloat: return "Float"; + case DevFmtByte: return "Int8"; + case DevFmtUByte: return "UInt8"; + case DevFmtShort: return "Int16"; + case DevFmtUShort: return "UInt16"; + case DevFmtInt: return "Int32"; + case DevFmtUInt: return "UInt32"; + case DevFmtFloat: return "Float32"; } return "(unknown type)"; } |