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

Decode MP3 and Ogg Vorbis to raw PCM in Dart, over FFI. Compiles stb_vorbis and minimp3 from source: self-contained, pure-Dart friendly, no platform plugins or prebuilt binaries.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add audio_decode

With Flutter:

 $ flutter pub add audio_decode

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  audio_decode: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:audio_decode/audio_decode.dart';
0
likes
160
points
686
downloads
screenshot

Documentation

API reference

Publisher

verified publisherdeveloperyusuf.com

Weekly Downloads

Decode MP3 and Ogg Vorbis to raw PCM in Dart, over FFI. Compiles stb_vorbis and minimp3 from source: self-contained, pure-Dart friendly, no platform plugins or prebuilt binaries.

Repository (GitHub)
View/report issues

Topics

#audio #mp3 #vorbis #pcm #ffi

License

MIT (license)

Dependencies

code_assets, ffi, hooks, native_toolchain_c

More

Packages that depend on audio_decode