AnalyserOptions constructor

AnalyserOptions({
  1. num? fftSize,
  2. num? maxDecibels,
  3. num? minDecibels,
  4. num? smoothingTimeConstant,
  5. num? channelCount,
  6. ChannelCountMode? channelCountMode,
  7. ChannelInterpretation? channelInterpretation,
})

Implementation

factory AnalyserOptions({
  _i2.num? fftSize,
  _i2.num? maxDecibels,
  _i2.num? minDecibels,
  _i2.num? smoothingTimeConstant,
  _i2.num? channelCount,
  _i3.ChannelCountMode? channelCountMode,
  _i3.ChannelInterpretation? channelInterpretation,
}) =>
    AnalyserOptions._(
      fftSize: fftSize,
      maxDecibels: maxDecibels,
      minDecibels: minDecibels,
      smoothingTimeConstant: smoothingTimeConstant,
      channelCount: channelCount,
      channelCountMode: channelCountMode?.name ?? _i6.undefined,
      channelInterpretation: channelInterpretation?.name ?? _i6.undefined,
    );