audio_flutter_platform_interface 0.2.0 copy "audio_flutter_platform_interface: ^0.2.0" to clipboard
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() and requestMicrophonePermission() to AudioFlutterPlatform, returning the new PlatformMicrophonePermissionStatus. Both carry UnimplementedError default 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. Same UnimplementedError default.
  • Add PlatformAudioFrame.discontinuityReason (nullable PlatformAudioDiscontinuityReason). Native gaps used to travel as a bare droppedFramesBefore count, which app-facing code could only ever map to droppedFrames; a rebuilt capture chain can now report itself as sourceRestart, including when it dropped no frames at all.
  • Add nullable peakAmplitude, rms, nonZeroFramePercent, renderCycles, and firstAudioAtMillis to PlatformAudioSessionEvent. 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.
0
likes
150
points
49
downloads

Documentation

API reference

Publisher

verified publisherksh.dev

Weekly Downloads

Typed platform contract for audio_flutter capture and playback.

Repository (GitHub)
View/report issues

Topics

#audio #flutter #plugin-platform-interface #pcm

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on audio_flutter_platform_interface