We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51ad8f8 commit 74168afCopy full SHA for 74168af
src/board/audio/index.ts
@@ -300,8 +300,8 @@ class BufferedAudio {
300
// In practice the supported range is less than the 8k..96k required by the spec
301
if (sampleRate < 8_000 || sampleRate > 96_000) {
302
// We need to resample
303
- //sampleRate = this.resampler.outputSampleRate;
304
- //data = this.resampler.full(data);
+ sampleRate = this.resampler.outputSampleRate;
+ data = this.resampler.full(data);
305
}
306
console.log(
307
"Using actual rate",
0 commit comments