Skip to content

Commit 74168af

Browse files
Reenable
1 parent 51ad8f8 commit 74168af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/board/audio/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ class BufferedAudio {
300300
// In practice the supported range is less than the 8k..96k required by the spec
301301
if (sampleRate < 8_000 || sampleRate > 96_000) {
302302
// We need to resample
303-
//sampleRate = this.resampler.outputSampleRate;
304-
//data = this.resampler.full(data);
303+
sampleRate = this.resampler.outputSampleRate;
304+
data = this.resampler.full(data);
305305
}
306306
console.log(
307307
"Using actual rate",

0 commit comments

Comments
 (0)