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

Hello! I'm working with Android and have encountered an issue where the default device selected is the earpiece. This is unfortunately not what I want, I rather have the speaker....

I want to get the size of the default buffer before the callback get's run. Is this possible?

There is code to convert from `f32` to `i16`, but I don't see how to write code that needs to work with `i16` in a portable way, that uses straight...

Failed to run`wasmtime beep.wasm`. It shows ``` thread 'main' panicked at 'failed to find output device', examples/beep.rs:79:6 ```

enhancement

Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. Changelog Sourced from async's changelog. v2.6.4 Fix potential prototype pollution exploit (#1828) Commits c6bdaca Version 2.6.4 8870da9 Update built files 4df6754 update changelog 8f7f903...

dependencies

There are lots of places in the documentation that use bolding or literal formatting (inside ` marks) for symbols. It would be nice to replace these with rustdoc's convenient documentation...

This adds support for the [sndio](https://sndio.org/) host which is the default and only supported host on OpenBSD. I have tested all the examples for cpal and rodio, with no issues...

Hi, I am trying out the enumerate and feedback example. Here is the output (truncated) of enumerate: ``` Supported hosts: [Wasapi] Available hosts: [Wasapi] WASAPI Default Input Device: Some("Wave Link...

I realise this is quite an obscure use-case, but currently if you try to play audio on WASM with the +atomics and +mutable-globals features enabled in Rust Nightly, Firefox and...

I'd like to switch to cpal from rust-portaudio, but I'm unable to reproduce the same behavior. When using the `beep.rs` example. When I set the buffer size via the config...

bug
platform - linux
host - alsa