Skip to content

Commit

Permalink
Reenable
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon committed Aug 23, 2024
1 parent 51ad8f8 commit 74168af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/board/audio/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 74168af

Please sign in to comment.