From 797a9a563b2e90849bc6eb79169a9381896eeb15 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 27 Apr 2014 00:58:59 -0400 Subject: 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). --- src/hexen/s_sound.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/hexen') 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()) -- cgit v1.2.3