Comments (2)
I'm pretty sure it's just floating point rounding errors in the data source.
from cpal.
It is indeed a result of the time parameter losing accuracy over time due to floating point precision issues. Changing it to f64 makes the problem take longer to manifest, but does not eliminate it. The solution would be to loop it over a single interval.
from cpal.
Related Issues (20)
- Record system audio on multiple platforms
- Suppport ScreenCaptureKit loopback HOT 5
- ```cpal::default_host().default_input_device()``` doesn't work in WASM environment
- [QUESTION] Cpal + wasm + WebAudioAPI setup
- [Question/Feature] Get channel names of a device for certain platforms
- `NoDevice` error on web
- Audio sampling data problem HOT 2
- ASIO4ALL.org looks... unsafe. HOT 3
- Using Asio4All results in StreamConfigNotSupported
- Adding visionOS support
- Min buffer size range detected on Android is huge (~1sec) HOT 1
- Extremely distorted audio on Windows with Razer 7.1 Surround Sound HOT 3
- record_wav example, question about using Option HOT 1
- example on how to record output device to wav HOT 2
- cannot use my audio input / output after using cpal (need to reboot computer)
- Android `failed to load dynamic library: dlopen failed: library "libc++shared.so" not found` HOT 5
- macOS asks for permission to use the microphone when accessing the default output device HOT 1
- Android won't adhere to fixed buffer size
- how can we financially support the maintenance of cpal?
- How to use multiple output devices in macOS?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpal.