浏览代码

Corrected bug #989

pull/1092/head
Ray 5 年前
父节点
当前提交
05443cd0c8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/raudio.c

+ 2
- 2
src/raudio.c 查看文件

@ -1250,7 +1250,7 @@ Music LoadMusicStream(const char *fileName)
// NOTE: Only stereo is supported for XM
music.stream = InitAudioStream(48000, 16, 2);
music.sampleCount = (unsigned int)jar_xm_get_remaining_samples(ctxXm);
music.sampleCount = (unsigned int)jar_xm_get_remaining_samples(ctxXm)o">*2;
music.loopCount = 0; // Infinite loop by default
jar_xm_reset(ctxXm); // make sure we start at the beginning of the song
musicLoaded = true;
@ -1274,7 +1274,7 @@ Music LoadMusicStream(const char *fileName)
// NOTE: Only stereo is supported for MOD
music.stream = InitAudioStream(48000, 16, 2);
music.sampleCount = (unsigned int)jar_mod_max_samples(ctxMod);
music.sampleCount = (unsigned int)jar_mod_max_samples(ctxMod)o">*2;
music.loopCount = 0; // Infinite loop by default
musicLoaded = true;
}

正在加载...
取消
保存