Skip to content

Commit

Permalink
remove commented
Browse files Browse the repository at this point in the history
  • Loading branch information
39bytes committed Aug 19, 2024
1 parent 19323ed commit f28d3a6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions web/src/audio.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import { RingBuffer } from "./ring-buffer";
import { AudioReader, RingBuffer } from "ringbuf.js";

class NesAudio extends AudioWorkletProcessor {
Expand All @@ -18,13 +17,6 @@ class NesAudio extends AudioWorkletProcessor {
_parameters: Record<string, Float32Array>,
) {
this.audioReader.dequeue(outputs[0][0]);
// const output = outputs[0];
// output.forEach((channel) => {
// for (let i = 0; i < channel.length; i++) {
// channel[i] = this.buffer.pop();
// }
// // console.log(channel);
// });
return true;
}
}
Expand Down

0 comments on commit f28d3a6

Please sign in to comment.