dart_alsa 0.0.2
dart_alsa: ^0.0.2 copied to clipboard

Dart FFI Binding to the ALSA sound library

Dart FFI Binding to the ALSA sound library. #

Regenerating the Dart ffi binding code #

Settings for ffigen are in pubspec.yaml, to regenerate the binding code run:

dart run ffigen

Testing #

check wav file properties: mediainfo filename.wav

ref: https://mediaarea.net/en/MediaInfo

run example: dart example/playsound.dart 44100 2 < refs/test1.wav

Acknowledgements #

Initial playback implementation based on sample code by Alessandro Ghedini.

0
likes
90
pub points
24%
popularity

Dart FFI Binding to the ALSA sound library

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

ffi

More

Packages that depend on dart_alsa