lab_sound_ffi 0.0.1 copy "lab_sound_ffi: ^0.0.1" to clipboard
lab_sound_ffi: ^0.0.1 copied to clipboard

graph-based audio engine

lab_sound_ffi #

lab_sound_ffi is the LabSound wrapper for Dart.


You need to manage the binary library yourself.

We provide compiled binaries: https://github.com/xioxin/lab_sound_bridge

Actions -> Select latest workflow -> Artifacts -> Download the platform you need

Or you can compile it yourself.

reference: https://github.com/xioxin/lab_sound_bridge/blob/main/.github/workflows/cmake.yml

LabSound is a lazy-loading singleton class, You need to override the DynamicLibrary load method before executing other methods.

LabSound.overrideDynamicLibrary(() => DynamicLibrary.open("LabSoundBridge.framework/LabSoundBridge"), OperatingSystem.macOS);
LabSound.overrideDynamicLibrary(() => DynamicLibrary.open("./path/libLabSoundBridge.so"), OperatingSystem.linux);
// ..... more platforms

if you are a flutter project please use lab_sound_flutter, which already contains the binary library

All API's might change without warning and no guarantees are given about stability. Do not use it in production.

Platform #

  • Android
  • iOS
  • Mac
  • Windows
  • Linux
  • Web
2
likes
90
pub points
0%
popularity

Publisher

unverified uploader

graph-based audio engine

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

ffi, path

More

Packages that depend on lab_sound_ffi