mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-20 15:34:05 +09:00
BUFFER_SIZE is now strictly samples count
This commit is contained in:
@@ -30,7 +30,7 @@ class Reverb(val delayMS: Float = 36f, var feedback: Float = 0.92f, var lowpass:
|
||||
val alphaHi = RCHi / (RCHi + dt)
|
||||
|
||||
for (ch in outbuf.indices) {
|
||||
for (i in 0 until TerrarumAudioMixerTrack.BUFFER_SIZE / 4) {
|
||||
for (i in 0 until TerrarumAudioMixerTrack.AUDIO_BUFFER_SIZE) {
|
||||
val inn = inbuf[ch][i]
|
||||
|
||||
// reverb
|
||||
|
||||
Reference in New Issue
Block a user