miniaudio_dart_ffi 1.0.3 copy "miniaudio_dart_ffi: ^1.0.3" to clipboard
miniaudio_dart_ffi: ^1.0.3 copied to clipboard

FFI implementation of the MiniaudioDart package.

miniaudio_dart_ffi #

The FFI implementation of miniaudio_dart.

Usage #

This package is endorsed, which means you can simply use miniaudio_dart 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 build the project, follow these steps:

  1. Initialize the submodules:

    git submodule update --init --recursive
    
  2. Make and/or Navigate to the miniaudio_dart_ffi/src/build directory:

    cd miniaudio_dart_ffi/src/build
    
  3. Run the following commands to build the project using emcmake and cmake:

    emcmake cmake ..
    cmake --build .
    

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

    rm -rf *
    cmake ..
    cmake --build .
    
  4. For development work, it's useful to run ffigen from the miniaudio_dart_ffi directory:

    cd miniaudio_dart_ffi
    dart run ffigen
    
0
likes
110
points
179
downloads

Publisher

unverified uploader

Weekly Downloads

FFI implementation of the MiniaudioDart package.

Documentation

API reference

License

MIT (license)

Dependencies

ffi, miniaudio_dart_platform_interface, native_toolchain_cmake

More

Packages that depend on miniaudio_dart_ffi