Kaynağa Gözat

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

pull/5637/head
dan-hoang 3 gün önce
ebeveyn
işleme
33423d0e0f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      examples/audio/audio_raw_stream.c

+ 1
- 1
examples/audio/audio_raw_stream.c Dosyayı Görüntüle

@ -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

Yükleniyor…
İptal
Kaydet