dart_flac 0.0.4
dart_flac: ^0.0.4 copied to clipboard
Pure-Dart FLAC decoder. Reads metadata, decodes LPC/FIXED subframes, verifies MD5, streams PCM to any audio sink. No native deps.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate dart_flacUse it
The package has the following executables:
$ flac2wav
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dart_flacThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dart_flac: ^0.0.4Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dart_flac/dart_flac.dart';