From 74168afc80d28d4c9da0ae83b7ea114ccb5886f2 Mon Sep 17 00:00:00 2001 From: Matt Hillsdon Date: Fri, 23 Aug 2024 13:02:16 +0100 Subject: [PATCH] Reenable --- src/board/audio/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/board/audio/index.ts b/src/board/audio/index.ts index 6c6beeb..7e8256e 100644 --- a/src/board/audio/index.ts +++ b/src/board/audio/index.ts @@ -300,8 +300,8 @@ class BufferedAudio { // In practice the supported range is less than the 8k..96k required by the spec if (sampleRate < 8_000 || sampleRate > 96_000) { // We need to resample - //sampleRate = this.resampler.outputSampleRate; - //data = this.resampler.full(data); + sampleRate = this.resampler.outputSampleRate; + data = this.resampler.full(data); } console.log( "Using actual rate",