GainOptions constructor

GainOptions({
  1. num? gain,
  2. num? channelCount,
  3. ChannelCountMode? channelCountMode,
  4. ChannelInterpretation? channelInterpretation,
})

Implementation

factory GainOptions({
  _i2.num? gain,
  _i2.num? channelCount,
  _i3.ChannelCountMode? channelCountMode,
  _i3.ChannelInterpretation? channelInterpretation,
}) =>
    GainOptions._(
      gain: gain,
      channelCount: channelCount,
      channelCountMode: channelCountMode?.name ?? _i6.undefined,
      channelInterpretation: channelInterpretation?.name ?? _i6.undefined,
    );