浏览代码

Put SetTargetFPS(30) before while (!WindowShouldClose()) in audio_raw_stream.c

pull/5637/head
dan-hoang 3 天前
父节点
当前提交
33423d0e0f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      examples/audio/audio_raw_stream.c

+ 1
- 1
examples/audio/audio_raw_stream.c 查看文件

@ -32,7 +32,6 @@ int main(void)
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [audio] example - raw stream");
SetTargetFPS(30);
InitAudioDevice();
@ -51,6 +50,7 @@ int main(void)
int sineIndex = 0;
double sineStartTime = 0.0;
SetTargetFPS(30);
//--------------------------------------------------------------------------------------
// Main game loop

正在加载...
取消
保存