fix(audio): source volume slider applies to sink instead of source

This commit is contained in:
Michael Aaron Murphy 2026-08-21 16:13:42 +02:00 • committed by Michael Murphy
parent 40248fb220
commit c7b1cb356b

View file

@ -435,7 +435,7 @@ impl cosmic::Application for Audio {
tokio::time::sleep(Duration::from_millis(128)).await;
_ = client
.conn
.set_sink_volume(volume.load(atomic::Ordering::Relaxed))
.set_source_volume(volume.load(atomic::Ordering::Relaxed))
.await;
Message::ReattachClient(Arc::new(client)).into()
});