summaryrefslogtreecommitdiff
path: root/src/heretic
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/heretic
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/heretic')
-rw-r--r--src/heretic/s_sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/heretic/s_sound.c b/src/heretic/s_sound.c
index 79e2d353..060e68bf 100644
--- a/src/heretic/s_sound.c
+++ b/src/heretic/s_sound.c
@@ -452,6 +452,8 @@ void S_UpdateSounds(mobj_t * listener)
int absx;
int absy;
+ I_UpdateSound();
+
listener = GetSoundListener();
if (snd_MaxVolume == 0)
{