mirror of https://github.com/adamdruppe/arsd.git
random deprecation
This commit is contained in:
parent
0c31235bec
commit
a55ce567c8
|
@ -344,7 +344,7 @@ final class AudioPcmOutThread : Thread {
|
|||
if(frequencyCounter)
|
||||
frequencyCounter--;
|
||||
if(frequencyCounter == 0) {
|
||||
val = -(val);
|
||||
val = -cast(int)(val);
|
||||
frequencyCounter = currentSample.frequency / 2;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue