DynamicsCompressorOptions constructor

DynamicsCompressorOptions({
  1. num? attack,
  2. num? knee,
  3. num? ratio,
  4. num? release,
  5. num? threshold,
  6. num? channelCount,
  7. ChannelCountMode? channelCountMode,
  8. ChannelInterpretation? channelInterpretation,
})

Implementation

factory DynamicsCompressorOptions({
  _i2.num? attack,
  _i2.num? knee,
  _i2.num? ratio,
  _i2.num? release,
  _i2.num? threshold,
  _i2.num? channelCount,
  _i3.ChannelCountMode? channelCountMode,
  _i3.ChannelInterpretation? channelInterpretation,
}) =>
    DynamicsCompressorOptions._(
      attack: attack,
      knee: knee,
      ratio: ratio,
      release: release,
      threshold: threshold,
      channelCount: channelCount,
      channelCountMode: channelCountMode?.name ?? _i6.undefined,
      channelInterpretation: channelInterpretation?.name ?? _i6.undefined,
    );