AudioBufferOptions constructor

AudioBufferOptions({
  1. int? numberOfChannels,
  2. int? length,
  3. double? sampleRate,
})

Implementation

factory AudioBufferOptions(
        {int? numberOfChannels, int? length, double? sampleRate}) =>
    AudioBufferOptions._(
        numberOfChannels: numberOfChannels ?? 1,
        length: length ?? undefined,
        sampleRate: sampleRate ?? undefined);