cpal icon indicating copy to clipboard operation
cpal copied to clipboard

Cross-platform audio I/O library in pure Rust

Results 216 cpal issues
Sort by recently updated
recently updated
newest added

I'm following these docs: https://github.com/RustAudio/cpal/wiki/Setting-up-a-new-CPAL-WASM-project I added this to my `Cargo.toml` ``` # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great...

In recent versions of `macOS` there's new API called [screen capture kit](https://developer.apple.com/documentation/screencapturekit/) which provides a way to capture the screen content (Audio / Video), That way we can receive audio...

feature request

On ChromeOS, using the Linux subsystem the cpal library seems to work correctly and records audio. However if I request buffer size smaller than 1024 (I used 480 and 960...

Hello everyone, my entire system sounds mutes when debugging while a sound plays. using gdb to break in the Beep-Example at line 123 causes all other programs (Firefox...) to mute...

why does this line use Option? https://github.com/RustAudio/cpal/blob/0246442da2f401895d2c82bbf941e3ebf6e93a04/examples/record_wav.rs#L91

question

#876 I added a new host: `ScreenCaptureKit` in macos, which only provides `input devices` for capturing the sound of the `Display`. When I test it in KVM virtualized `mocOS-14`, it...

`windows` is a "heavy" crate. Duplicate `windows` versions in a tree can add precious seconds to compile times (or even _minutes_ by some Bevy user reports). On the Bevy side,...

All crates that depend on cpal, such as [rodio](https://github.com/RustAudio/rodio) or [kira](https://github.com/tesselode/kira) have their audio distorted when I'm using the 7.1 Surround Sound audio output device on Windows. This has been...

bug

Previously attempting to capture integer-valued audio samples would fail on macOS because that `kAudioFormatFlagIsSignedInteger` flag was not set on the `AudioStreamBasicDescription`.