minisound_ffi 2.0.1 copy "minisound_ffi: ^2.0.1" to clipboard
minisound_ffi: ^2.0.1 copied to clipboard

retractedunlisted

FFI implementation of the Minisound package.

minisound_ffi #

The FFI implementation of minisound.

Usage #

This package is endorsed, which means you can simply use minisound normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

Building the project #

To manually build the project, follow these steps:

  1. Initialize the submodules:

    git submodule update --init --recursive
    
  2. Run the following commands to build the project using emcmake:

    emcmake cmake -S ./minisound_ffi/src/ -B ./minisound_web/lib/build/cmake_stuff 
    cmake --build ./minisound_web/lib/build/cmake_stuff 
    

    If you encounter issues or want to start fresh, clean the build folder and rerun the cmake commands:

    rm -rf *
    emcmake cmake -S ./minisound_ffi/src/ -B ./minisound_web/lib/build/cmake_stuff 
    cmake --build ./minisound_web/lib/build/cmake_stuff 
    
  3. For development work, it's useful to run ffigen from the minisound_ffi directory:

    cd ./minisound_ffi/
    dart run ffigen
    
0
likes
0
pub points
53%
popularity

Publisher

unverified uploader

FFI implementation of the Minisound package.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, minisound_platform_interface

More

Packages that depend on minisound_ffi