Cross-platform audio in Rust
Go to file
jwestfall 7c03219451 alsa: set sw_params_set_avail_min based on get_params buffer size
snd_pcm_sw_params_set_avail_min was being hardcoded to 4096, which
seems to be problematic for lower sample rates.  This update sets
the value to the buffer size as supplied by snd_pcm_get_params(),
which is what alsa own sample code does.

This should fix https://github.com/tomaka/cpal/issues/142
2017-01-23 16:10:44 -08:00
alsa-sys Bump alsa-sys to 0.1 2016-08-14 20:16:34 +02:00
examples impl play and pause for ALSA 2016-10-02 13:29:01 +02:00
src alsa: set sw_params_set_avail_min based on get_params buffer size 2017-01-23 16:10:44 -08:00
.gitignore OSX support via the Apple Core Audio, Audio Unit C API. Only supports f32 so far. 2015-02-28 06:05:24 +11:00
.travis.yml Try enabling travis for OSX 2016-10-01 09:12:36 +02:00
Cargo.toml Bump crate version to 0.4.2 2017-01-19 16:06:17 +01:00
README.md Publish 0.4.0 2016-10-01 10:30:38 +02:00
appveyor.yml Fix the appveyor build 2014-12-23 15:28:38 +01:00

README.md

CPAL - Cross-platform audio library

Documentation

[dependencies]
cpal = "0.4.0"

Low-level library for audio playback in pure Rust.

This library allows you to open a channel with the audio device of the user's machine, and send PCM data to it.