audio_flutter_platform_interface 0.2.0
audio_flutter_platform_interface: ^0.2.0 copied to clipboard
Typed platform contract for audio_flutter capture and playback.
Changelog #
0.2.0 #
- Add
microphonePermissionStatus()andrequestMicrophonePermission()toAudioFlutterPlatform, returning the newPlatformMicrophonePermissionStatus. Both carryUnimplementedErrordefault bodies, so a platform package written against 0.1.0 keeps compiling and callers can distinguish "no permission gate on this platform" from "denied". - Add
cleanupOrphanedCaptureDevices(), which destroys private capture devices the plugin leaked in an earlier run and reports how many were reclaimed. SameUnimplementedErrordefault. - Add
PlatformAudioFrame.discontinuityReason(nullablePlatformAudioDiscontinuityReason). Native gaps used to travel as a baredroppedFramesBeforecount, which app-facing code could only ever map todroppedFrames; a rebuilt capture chain can now report itself assourceRestart, including when it dropped no frames at all. - Add nullable
peakAmplitude,rms,nonZeroFramePercent,renderCycles, andfirstAudioAtMillistoPlatformAudioSessionEvent. They separate a silent room from a dead tap, and a device that never ran from one that runs and delivers zeroes.
0.1.0 #
- Initial public release.