Misc cleanup
							parent
							
								
									b519d85127
								
							
						
					
					
						commit
						14809dfda7
					
				|  | @ -138,7 +138,6 @@ declare global { | |||
|             outputs: Float32Array[][], | ||||
|             parameters: Record<string, Float32Array> | ||||
|         ): boolean; | ||||
| 
 | ||||
|     } | ||||
| 
 | ||||
|     // https://github.com/microsoft/TypeScript/issues/28308#issuecomment-650802278
 | ||||
|  |  | |||
|  | @ -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
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Travis Ralston
						Travis Ralston