浏览代码

Fix for #4521 (#4523)

pull/4526/head
veins1 3 周前
committed by GitHub
父节点
当前提交
11429b48eb
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/raudio.c

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

@ -1855,6 +1855,8 @@ void SeekMusicStream(Music music, float position)
ma_mutex_lock(&AUDIO.System.lock);
music.stream.buffer->framesProcessed = positionInFrames;
music.stream.buffer->isSubBufferProcessed[0] = true;
music.stream.buffer->isSubBufferProcessed[1] = true;
ma_mutex_unlock(&AUDIO.System.lock);
}

正在加载...
取消
保存