audio_decode 0.1.0 copy "audio_decode: ^0.1.0" to clipboard
audio_decode: ^0.1.0 copied to clipboard

Native Ogg Vorbis and MP3 decoding to PCM for Dart via stb_vorbis and minimp3 over FFI. Self-contained, pure-Dart friendly, no platform plugins.

License

MIT License

Copyright (c) 2026 Yusuf Ihsan Gorgel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

This package vendors and compiles two single-file C decoders under
src/third_party/, each dedicated to the public domain by its author:

- stb_vorbis (https://github.com/nothings/stb) by Sean Barrett, an Ogg Vorbis
  decoder, released into the public domain (Unlicense) or MIT at your option.
- minimp3 (https://github.com/lieff/minimp3) by Lion (lieff), an MP3 decoder,
  released under CC0 1.0 (public domain).
0
likes
0
points
731
downloads

Publisher

verified publisherdeveloperyusuf.com

Weekly Downloads

Native Ogg Vorbis and MP3 decoding to PCM for Dart via stb_vorbis and minimp3 over FFI. Self-contained, pure-Dart friendly, no platform plugins.

Repository (GitHub)
View/report issues

Topics

#audio #mp3 #vorbis #pcm #ffi

License

unknown (license)

Dependencies

code_assets, ffi, hooks, native_toolchain_c

More

Packages that depend on audio_decode