summaryrefslogtreecommitdiff
path: root/src/i_swap.h
diff options
context:
space:
mode:
authorSimon Howard2014-04-27 00:58:59 -0400
committerSimon Howard2014-04-27 00:58:59 -0400
commit797a9a563b2e90849bc6eb79169a9381896eeb15 (patch)
tree4d23ec4eec1ceb392b482d268358fa8a219f0bca /src/i_swap.h
parent90f7206384d54cee5cee40f3e7c64b7a7c43cb26 (diff)
downloadchocolate-doom-797a9a563b2e90849bc6eb79169a9381896eeb15.tar.gz
chocolate-doom-797a9a563b2e90849bc6eb79169a9381896eeb15.tar.bz2
chocolate-doom-797a9a563b2e90849bc6eb79169a9381896eeb15.zip
music: Add loop point Ogg/Flac metadata support.
ZDoom has defined a format for Vorbis metadata comments named LOOP_START and LOOP_END that allow the start and end points to be defined in .ogg and .flac files for looping music. Add support for these (they are used in Brandon Blume's SC-55 recordings).
Diffstat (limited to 'src/i_swap.h')
-rw-r--r--src/i_swap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_swap.h b/src/i_swap.h
index 065037a4..c1b11040 100644
--- a/src/i_swap.h
+++ b/src/i_swap.h
@@ -39,7 +39,7 @@
// of the macros in the original source and some code relies on it.
#define SHORT(x) ((signed short) SDL_SwapLE16(x))
-#define LONG(x) ((signed long) SDL_SwapLE32(x))
+#define LONG(x) ((signed int) SDL_SwapLE32(x))
// Defines for checking the endianness of the system.