TOnRecorderProgress typedef

TOnRecorderProgress = void Function(Duration position, double dbPeakLevel)

Playback function type for FlutterSoundPlayer.startPlayer().

Note : this type must include a parameter with a reference to the FlutterSoundPlayer object involved.

Implementation

typedef TOnRecorderProgress = void Function(
    Duration position, double dbPeakLevel);