cpal
cpal copied to clipboard
Cross-platform audio I/O library in pure Rust
Hey guys! I've been working on a GameBoy emulator which runs on the web: https://nicolas-siplis.com/ironboy/ I've been using Pixels + Winit + CPAL for handling video, audio and inputs and...
Use `ActivateAudioInterfaceAsync` to create default input/output devices to support [automatic stream routing](https://learn.microsoft.com/en-us/windows/win32/coreaudio/automatic-stream-routing). Related issues: #740 Open questions: - [ ] Fallback for windows versions
Throughout the codebase there are extensive use of old syntax that were superseded by new features like match ergonomics, inclusive ranges, and struct field names sugar. What's our policy on...
Hi there, I am trying to get the system latency. Basically, I want to know (_roughly_) when the samples I wrote to the output are ending up at the speaker....
The [AudioBufferSourceNode::set_onended](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.AudioBufferSourceNode.html#method.set_onended) method is never called with None to free the data_callback.
Audio data is collected on one computer and transferred to another computer for playback. If the acquisition frequency is higher than the playback frequency, the delay will increase. There is...
When you select the same audio device in macOS settings and in CPAL, the feedback example is working. When you select another audio device in macOS settings then in CPAL,...
On my old Windows surface, I'm hearing dropped frames even for the simple beep.rs compiled in release mode. CPU usage is kept really low as expected, so I'm thinking maybe...
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.76.0. Release notes Sourced from webpack's releases. v5.76.0 Bugfixes Avoid cross-realm object access by @Jack-Works in webpack/webpack#16500 Improve hash performance via conditional initialization by @lvivski...
I am trying to upgrade my [audio_mixer crate](https://github.com/tuzz/audio_mixer) to the latest version of cpal. It currently depends on cpal 0.13.4. I believe I have to change `Sample` to `SizedSample` but...