v0.4.0
Web Support
audio_decoder now runs in the browser! The web platform uses the Web Audio API to decode and process audio entirely client-side.
What's supported on web
convertToWavBytes— decode any browser-supported format and encode to WAVgetAudioInfoBytes— extract duration, sample rate, channels, and bit ratetrimAudioBytes— trim audio to a time range (WAV output)getWaveformBytes— extract normalized amplitude data for visualizations
Web limitations
- File-based methods are not available — use the bytes-based API instead
- M4A encoding is not supported (browsers lack an AAC encoding API)
- Trim output is always WAV
Other improvements
- Added API documentation comments to all public classes and members
- Plugin now supports all 6 Flutter platforms: Android, iOS, macOS, Windows, Linux, and Web
Full Changelog: v0.3.0...v0.4.0