AudioWorkletNodeOptions constructor

AudioWorkletNodeOptions({
  1. num? numberOfInputs,
  2. num? numberOfOutputs,
  3. List<num>? outputChannelCount,
  4. dynamic parameterData,
  5. dynamic processorOptions,
  6. num? channelCount,
  7. ChannelCountMode? channelCountMode,
  8. ChannelInterpretation? channelInterpretation,
})

Implementation

factory AudioWorkletNodeOptions({
  _i2.num? numberOfInputs,
  _i2.num? numberOfOutputs,
  _i2.List<_i2.num>? outputChannelCount,
  _i2.dynamic parameterData,
  _i2.dynamic processorOptions,
  _i2.num? channelCount,
  _i3.ChannelCountMode? channelCountMode,
  _i3.ChannelInterpretation? channelInterpretation,
}) =>
    AudioWorkletNodeOptions._(
      numberOfInputs: numberOfInputs,
      numberOfOutputs: numberOfOutputs,
      outputChannelCount: outputChannelCount,
      parameterData: parameterData,
      processorOptions: processorOptions,
      channelCount: channelCount,
      channelCountMode: channelCountMode?.name ?? _i6.undefined,
      channelInterpretation: channelInterpretation?.name ?? _i6.undefined,
    );