getAmplitude method

Future<Amplitude> getAmplitude()

Gets current average & max amplitudes (dBFS) Always returns zeros on unsupported platforms

Implementation

Future<Amplitude> getAmplitude() async {
  _created ??= await _create();
  return RecordPlatform.instance.getAmplitude(_recorderId);
}