closeAudioSession method

Future<void> closeAudioSession()

Close a Recorder

You must close your recorder when you have finished with it, for releasing the resources. Delete all the temporary files created with startRecorder()

Implementation

Future<void> closeAudioSession() async {
  _logger.d('FS:---> closeAudioSession ');
  await _lock.synchronized(() async {
    await _closeAudioSession();
  });
  _logger.d('FS:<--- closeAudioSession ');
}