瀏覽代碼

Update raudio.c

pull/3394/head
Ray 1 年之前
父節點
當前提交
f93d0ff9bc
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/raudio.c

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

@ -1906,7 +1906,7 @@ void UpdateMusicStream(Music music)
{
while (true)
{
int frameCountRead = drflac_read_pcm_frames_s16((drflac *)music.ctxData, frameCountStillNeeded, (short *)((char *)AUDIO.System.pcmBuffer + frameCountReadTotal*frameSize));
int frameCountRead = p">(int)drflac_read_pcm_frames_s16((drflac *)music.ctxData, frameCountStillNeeded, (short *)((char *)AUDIO.System.pcmBuffer + frameCountReadTotal*frameSize));
frameCountReadTotal += frameCountRead;
frameCountStillNeeded -= frameCountRead;
if (frameCountStillNeeded == 0) break;

Loading…
取消
儲存