Otto Rottier
Otto Rottier
Thanks for the report. We should probably do this as it is also advised in the rust API guidelines https://rust-lang.github.io/api-guidelines/debuggability.html#all-public-types-implement-debug-c-debug If you are willing to open a PR to address...
Right, good question. I think it would be best to start small. Most of the AudioContext fields have no 'debug' value anyway and only expose internal guts that are subject...
Hey @CorvusPrudens, are you working on this? Otherwise I will make a start
The change in #293 works around `timestamp.playback.duration_since(×tamp.callback)` returning `None`. Checking https://docs.rs/cpal/latest/cpal/struct.StreamInstant.html this can only happen when `callback` is later than `playback` (docs: https://docs.rs/cpal/latest/cpal/struct.OutputStreamTimestamp.html ). Which is indeed puzzling and requires...
Probably best to report it to cpal then. There's similar (but different) shenanigans happening for ALSA timestamps: https://github.com/RustAudio/cpal/issues/710
The reason is that I think the compiler will not allow you to ship the reference to another thread. I might be wrong though, I could have another look. Using...
Your plan sounds alright, let's try to work it out later
Hey @b-ma I am very sorry to ruin your party. But reading and writing to the same memory location concurrently is undefined behaviour.. :( This is what `miri` has to...
Please note however, I think you are diving in a very cool domain here. We should explore further. The red line I want to draw is that I want either:...