🔥(frontend) delete empty constructor from noise reduction class
Remove unnecessary empty constructor that provides no functionality beyond default constructor behavior. Simplifies class definition and reduces boilerplate code.
This commit is contained in:
committed by
aleb_the_flash
parent
4a6b84ed50
commit
e20619d9a2
@@ -23,8 +23,6 @@ export class RnnNoiseProcessor implements AudioProcessorInterface {
|
||||
private destinationNode?: MediaStreamAudioDestinationNode
|
||||
private noiseSuppressionNode?: AudioWorkletNode
|
||||
|
||||
constructor() {}
|
||||
|
||||
async init(opts: ProcessorOptions<Track.Kind.Audio>) {
|
||||
if (!opts.track) {
|
||||
throw new Error('Track is required for audio processing')
|
||||
|
||||
Reference in New Issue
Block a user