Probably should not fetch screen refresh rate in the loop, for now.

This commit is contained in:
2026-03-31 16:25:40 -07:00
parent 4be3d0df80
commit 165ba90102
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ static void GameOutputSound(game_state *GameState,
S16 ToneVolume, *SampleOut;
S32 WavePeriod, SampleIndex;
ToneVolume = 8000;
ToneVolume = 0;
WavePeriod = SoundBuffer->SamplesPerSecond / ToneHz;
SampleOut = SoundBuffer->Samples;