Don't update the music stream as often

This commit is contained in:
Zachary Hall 2023-07-09 13:56:34 -07:00
parent fd32101a41
commit 6870834dc9

View file

@ -34,7 +34,7 @@ void Playback::ThreadFunc() {
flag_mutex.unlock();
}
position = GetMusicTimePlayed(music);
std::this_thread::sleep_for(5ms);
std::this_thread::sleep_for(20ms);
}
UnloadMusicStream(music);
CloseAudioDevice();