AnalyserOptions constructor
AnalyserOptions({
- num? fftSize,
- num? maxDecibels,
- num? minDecibels,
- num? smoothingTimeConstant,
- num? channelCount,
- ChannelCountMode? channelCountMode,
- 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,
);