Misc cleanup

pull/21833/head
Travis Ralston 2021-04-22 08:22:31 -06:00
parent b519d85127
commit 14809dfda7
2 changed files with 0 additions and 5 deletions

View File

@ -138,7 +138,6 @@ declare global {
outputs: Float32Array[][],
parameters: Record<string, Float32Array>
): boolean;
}
// https://github.com/microsoft/TypeScript/issues/28308#issuecomment-650802278

View File

@ -25,10 +25,6 @@ declare const currentTime: number;
class MxVoiceWorklet extends AudioWorkletProcessor {
private nextAmplitudeSecond = 0;
constructor() {
super();
}
process(inputs, outputs, parameters) {
// We only fire amplitude updates once a second to avoid flooding the recording instance
// with useless data. Much of the data would end up discarded, so we ratelimit ourselves