summaryrefslogtreecommitdiff
path: root/src/hexen
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/hexen
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/hexen')
-rw-r--r--src/hexen/s_sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hexen/s_sound.c b/src/hexen/s_sound.c
index 71944f11..400357f8 100644
--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -706,6 +706,8 @@ void S_UpdateSounds(mobj_t * listener)
int absx;
int absy;
+ I_UpdateSound();
+
// If we are looping a CD track, we need to check if it has
// finished playing and needs to restart.
if (cdmusic && ShouldRestartCDTrack())