play_calibration static method

Future<bool> play_calibration(
  1. int frequency,
  2. int sampleRate,
  3. int actualVolume,
  4. int numSamples,
  5. int s,
)

Play sound

Implementation

// static void play_calibration() async {
//   await _channel.invokeMethod('play_calibration');
// }
static Future<bool> play_calibration(int frequency, int sampleRate,
    int actualVolume, int numSamples, int s) async {
  final bool play_calibration =
      await _channel.invokeMethod("play_calibration", <String, dynamic>{
    "frequency": frequency,
    "sampleRate": sampleRate,
    "actualVolume": actualVolume,
    "numSamples": numSamples,
    "s": s
  });
  return play_calibration;
}