bufferSize property

Future<int> bufferSize

The amount of recorded data, per sample, in bytes. Only completes once a stream started.

Implementation

static Future<int> get bufferSize async {
  _memoisedBufferSize ??= await _microphoneFuture.then((_) {
    return _microphoneMethodChannel.invokeMethod("getBufferSize")
        .then((value) => value as int);
  });
  return _memoisedBufferSize!;
}