diff --git a/cosmic-applet-audio/src/pulse.rs b/cosmic-applet-audio/src/pulse.rs index dce58852..8c724cb2 100644 --- a/cosmic-applet-audio/src/pulse.rs +++ b/cosmic-applet-audio/src/pulse.rs @@ -219,6 +219,10 @@ impl PulseHandle { loop { // This is where the we match messages from the GUI to pass to the pulse server let mut msgs = Vec::new(); + + if let Some(msg) = to_pulse_recv.recv().await { + msgs.push(msg); + } while let Ok(msg) = to_pulse_recv.try_recv() { msgs.push(msg); }