We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d851132 commit 61b6e25Copy full SHA for 61b6e25
1 file changed
src-tauri/src/sendspin/volume_control.rs
@@ -715,7 +715,9 @@ mod linux_impl {
715
pid: u32,
716
volume: u8,
717
) -> Result<(), String> {
718
- let (result_tx, result_rx) = channel();
+ use libpulse_binding::volume::ChannelVolumes;
719
+
720
+ let (result_tx, result_rx) = channel::<Result<ChannelVolumes, String>>();
721
let result_tx = Arc::new(Mutex::new(Some(result_tx)));
722
723
// Try to find our sink input
0 commit comments