AudioStreamOptions constructor

AudioStreamOptions({
  1. required int sampleRate,
  2. required int bufferSize,
})

Implementation

AudioStreamOptions({
  /// The sample rate expected in an audio buffer.
  required int sampleRate,

  /// The number of samples within an audio buffer.
  required int bufferSize,
}) : _wrapped = $js.AudioStreamOptions(
        sampleRate: sampleRate,
        bufferSize: bufferSize,
      );