Fix the default loop end point

This commit is contained in:
Chris Robinson 2017-04-22 15:04:39 -07:00 committed by Christoph Oelckers
parent 4b7834465b
commit c2391d6a0d

View file

@ -1205,7 +1205,7 @@ std::pair<SoundHandle,bool> OpenALSoundRenderer::LoadSound(uint8_t *sfxdata, int
ChannelConfig chans; ChannelConfig chans;
SampleType type; SampleType type;
int srate; int srate;
uint32_t loop_start = 0, loop_end = 0; uint32_t loop_start = 0, loop_end = ~0u;
bool startass = false, endass = false; bool startass = false, endass = false;
if (!memcmp(sfxdata, "OggS", 4) || !memcmp(sfxdata, "FLAC", 4)) if (!memcmp(sfxdata, "OggS", 4) || !memcmp(sfxdata, "FLAC", 4))