sound_stream 0.3.4

Provides a simple interface to the default audio input and output device streams on a user's system.
docs.rs failed to build sound_stream-0.3.4
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.

SoundStream Build Status

A simple-as-possible, fast audio I/O stream wrapping PortAudio for Rust! It looks like this:

for event in stream.by_ref() {
    match event {
        Event::In(input_buffer) => println!("Incoming audio!"),
        Event::Out(output_buffer, settings) => println!("Time to write to output!"),
        Event::Update(delta_time) => println!("Updatey stuff here."),
    }
}

Usage

Add sound_stream to your Cargo.toml dependencies like so:

[dependencies]
sound_stream = "*"

For more details, see the example.

PortAudio

SoundStream uses PortAudio as a cross-platform audio backend. The rust-portaudio dependency will first try to find an already installed version on your system before trying to download it and build PortAudio itself.

License

MIT - Same license as PortAudio.