AudioWorkletNodeOptions constructor

AudioWorkletNodeOptions({
  1. int? numberOfInputs,
  2. int? numberOfOutputs,
  3. Iterable<int>? outputChannelCount,
  4. dynamic parameterData,
  5. dynamic processorOptions,
})

Implementation

factory AudioWorkletNodeOptions(
        {int? numberOfInputs,
        int? numberOfOutputs,
        Iterable<int>? outputChannelCount,
        dynamic parameterData,
        dynamic processorOptions}) =>
    AudioWorkletNodeOptions._(
        numberOfInputs: numberOfInputs ?? 1,
        numberOfOutputs: numberOfOutputs ?? 1,
        outputChannelCount: outputChannelCount ?? undefined,
        parameterData: parameterData ?? undefined,
        processorOptions: processorOptions ?? undefined);