rsoundio 0.1.1

libsoundio bindings for Rust
docs.rs failed to build rsoundio-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

A Rusty Wrapper for libsoundio

Circle CI

Rsoundio is a wrapper for libsoundio, a cross-platform realtime audio in- and output library.

The following backens are supported:

  • JACK
  • PulseAudio
  • ALSA
  • CoreAudio
  • WASAPI

For a comparison of libsoundio with other audio libaries, take a look at the wiki.


This is a work in progress and there are still some things that don't work, especially recording via input streams is not supported yet (see TODOs. Most of the input stream implementation can be copied from the output stream though.

Usage

Add it to the dependencies section of your projects Cargo.toml

[dependencies]
rsoundio = "0.1.*"

Example

cargo run --example sine

TODOs

  • add documentation
  • implement InStream
  • implement remaining callback registrations for SoundIo struct
  • let write_stream_FMT accept an iterator instead of a Vec<Vec<FMT>>
  • make rsoundio::ffi private and only export the enums
  • publish on crates.io
  • write examples