Probably should not fetch screen refresh rate in the loop, for now.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user