From 79b4f38ca8dbea517d550c150eaad4a8340f146e Mon Sep 17 00:00:00 2001 From: Ian Lavery Date: Tue, 23 Apr 2024 12:42:35 -0700 Subject: [PATCH] delaySample free fix (#61) --- binding/web/src/koala.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binding/web/src/koala.ts b/binding/web/src/koala.ts index 568a1be..667cd4d 100644 --- a/binding/web/src/koala.ts +++ b/binding/web/src/koala.ts @@ -609,7 +609,7 @@ export class Koala { } const delaySample = memoryBufferView.getInt32(delaySampleAddress, true); - await pv_free(delaySample); + await pv_free(delaySampleAddress); const frameLength = await pv_koala_frame_length(); const sampleRate = await pv_sample_rate();