Kitedesk fork of github.com/rustdesk-org/cpal (Apache-2.0, upstream osx-screencapturekit 96d4da12). Branch kd/b283-sck-audio: ScreenCaptureKit audio only on macOS 13+, without the capturing process's own audio (B283).
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 |
||
|---|---|---|
| alsa-sys | ||
| examples | ||
| src | ||
| .gitignore | ||
| .travis.yml | ||
| appveyor.yml | ||
| Cargo.toml | ||
| README.md | ||
CPAL - Cross-platform audio library
[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.