getSampleRate method

Future<int> getSampleRate()

Get the sampleRate used by startRecorder()

Implementation

Future<int> getSampleRate() async {
  _logger.d('FS:---> getSampleRate');
  Future<int>? r = null;
  await _lock.synchronized(() async {
    r = _getSampleRate();
  });
  _logger.d('FS:<--- getSampleRate ');
  return r!; // A Future!
}