From c2391d6a0de92ba67142e14cb7b30c3ab6a1f35f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 22 Apr 2017 15:04:39 -0700 Subject: [PATCH] Fix the default loop end point --- src/sound/oalsound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/oalsound.cpp b/src/sound/oalsound.cpp index b2f5a8e77..f2c7249a7 100644 --- a/src/sound/oalsound.cpp +++ b/src/sound/oalsound.cpp @@ -1205,7 +1205,7 @@ std::pair OpenALSoundRenderer::LoadSound(uint8_t *sfxdata, int ChannelConfig chans; SampleType type; int srate; - uint32_t loop_start = 0, loop_end = 0; + uint32_t loop_start = 0, loop_end = ~0u; bool startass = false, endass = false; if (!memcmp(sfxdata, "OggS", 4) || !memcmp(sfxdata, "FLAC", 4))