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

Does CPAL add any latency for any of the backends? PortAudio has a major issue with [doubling the latency with its JACK implementation](https://github.com/mixxxdj/website/pull/217) and I am hoping CPAL has no...

It would be great to expose a C API for CPAL. The PortAudio C library and RtAudio C++ library exist but they have major limitations. Both of those libraries couple...

There's no indication that `CFStringGetCStringPtr` failing is destructive for the `CFString`: https://developer.apple.com/documentation/corefoundation/1542133-cfstringgetcstringptr So calling `AudioObjectGetPropertyData` a second time to get the device name isn't necessary. It looks like this was...

For usability with JACK and PipeWire routing applications like Catia or QJackCtl as well as session managers, it is important that applications can choose their port names. I think this...

It would be nice to add an example like jack_iodelay that can be used to measure round trip latency with a loopback cable. This could be a useful tool for...

This is a tracking issue for supporting duplex streams. Duplex streams are streams that have device-synchronised input and output, an essential requirement for many real-time and pro-audio applications. This is...

feature request

Migrating from rodio 0.11, I used to monitor the end of sound playback using `empty()` function. This worked fine on both MacOS and Linux (raspberry pi zero with USB output...

Currently `cpal` can't be cross-compiled for ARM(at least that's how I understand it). To compile `alsa-sys` for ARM I had to export 2 environment variables(after already having Rust and Cargo...

I'm running into latency issues on Windows. When I iterate over the `SupportedStreamConfig`s I only get one option: ``` SupportedStreamConfigRange { channels: 4, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format:...

As describe [here](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext#examples), on Safari the AudioContext is accessible via webkitAudioContext. ### Steps to Reproduce 1. Run the sample wasm-beep 2. Open on Safari. ### Additional information On web_sys crate,...