Thomas Lent

Results 2 comments of Thomas Lent

I ran into this issue as well and found these related issues: https://github.com/RustAudio/cpal/pull/330 https://github.com/rust-windowing/winit/issues/1185 It seems this happens with versions of winit starting with 0.20. The easiest workaround is to...

Here's what I did: ```Rust use std::sync::mpsc::{self, Sender}; use std::thread; use rodio::Sink; pub struct Audio { control_channel: Sender, } impl Audio { pub fn new() -> Self { let audio_source...