fix(audio): source volume slider applies to sink instead of source
This commit is contained in:
parent
40248fb220
commit
c7b1cb356b
1 changed files with 1 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ impl cosmic::Application for Audio {
|
||||||
tokio::time::sleep(Duration::from_millis(128)).await;
|
tokio::time::sleep(Duration::from_millis(128)).await;
|
||||||
_ = client
|
_ = client
|
||||||
.conn
|
.conn
|
||||||
.set_sink_volume(volume.load(atomic::Ordering::Relaxed))
|
.set_source_volume(volume.load(atomic::Ordering::Relaxed))
|
||||||
.await;
|
.await;
|
||||||
Message::ReattachClient(Arc::new(client)).into()
|
Message::ReattachClient(Arc::new(client)).into()
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue