diff options
author | 2016-07-31 16:47:26 +0200 | |
---|---|---|
committer | 2016-07-31 16:47:26 +0200 | |
commit | f127621e13050aad6b455ebfadec5bfdcbdd00d4 (patch) | |
tree | 0601ca3093ab58610f108f93167d344151b2d4e5 /src/lib/formats/wavfile.cpp | |
parent | eaa70ae0313eb1135ba63814f07f7e22c766a504 (diff) |
made constexprs lower case and used constexpr for returning input value as well for rest of defines in osdcomm.h (nw)
Diffstat (limited to 'src/lib/formats/wavfile.cpp')
-rw-r--r-- | src/lib/formats/wavfile.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/formats/wavfile.cpp b/src/lib/formats/wavfile.cpp index 1cb4746f39c..f827102a57b 100644 --- a/src/lib/formats/wavfile.cpp +++ b/src/lib/formats/wavfile.cpp @@ -27,7 +27,7 @@ static UINT32 get_leuint32(const void *ptr) { UINT32 value; memcpy(&value, ptr, sizeof(value)); - return LITTLE_ENDIANIZE_INT32(value); + return little_endianize_int32(value); } @@ -36,14 +36,14 @@ static UINT16 get_leuint16(const void *ptr) { UINT16 value; memcpy(&value, ptr, sizeof(value)); - return LITTLE_ENDIANIZE_INT16(value); + return little_endianize_int16(value); } static void put_leuint32(void *ptr, UINT32 value) { - value = LITTLE_ENDIANIZE_INT32(value); + value = little_endianize_int32(value); memcpy(ptr, &value, sizeof(value)); } @@ -51,7 +51,7 @@ static void put_leuint32(void *ptr, UINT32 value) static void put_leuint16(void *ptr, UINT16 value) { - value = LITTLE_ENDIANIZE_INT16(value); + value = little_endianize_int16(value); memcpy(ptr, &value, sizeof(value)); } |