chore: align subscriptions with local stack
This commit is contained in:
parent
553c05e2f0
commit
32d71847b6
10 changed files with 12 additions and 12 deletions
|
|
@ -281,7 +281,7 @@ impl PulseChannels {
|
|||
/// Set the speaker balance of the active sink.
|
||||
pub fn set_balance(&mut self, balance: f32) {
|
||||
if let Err(err) = self.tx.send(Request::Balance(self.index, balance)) {
|
||||
log::error!("Failed to send new balance to channel");
|
||||
log::error!("Failed to send new balance to channel: {err}");
|
||||
} else {
|
||||
self.pipe_tx
|
||||
.write_all(&[1])
|
||||
|
|
@ -292,7 +292,7 @@ impl PulseChannels {
|
|||
/// Set the volume of the active sink.
|
||||
pub fn set_volume(&mut self, volume: f32) {
|
||||
if let Err(err) = self.tx.send(Request::Volume(self.index, volume)) {
|
||||
log::error!("Failed to send new volume to channel");
|
||||
log::error!("Failed to send new volume to channel: {err}");
|
||||
} else {
|
||||
self.pipe_tx
|
||||
.write_all(&[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue