random deprecation

This commit is contained in:
Adam D. Ruppe 2018-09-11 16:18:27 -04:00
parent 0c31235bec
commit a55ce567c8
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ final class AudioPcmOutThread : Thread {
if(frequencyCounter) if(frequencyCounter)
frequencyCounter--; frequencyCounter--;
if(frequencyCounter == 0) { if(frequencyCounter == 0) {
val = -(val); val = -cast(int)(val);
frequencyCounter = currentSample.frequency / 2; frequencyCounter = currentSample.frequency / 2;
} }
} }