diff options
| author | Eskil Queseth <eskilq@kth.se> | 2021-02-03 01:26:02 +0100 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2021-02-03 01:26:02 +0100 |
| commit | eb96b559680e42173c0571b65fcb7fb63afbab62 (patch) | |
| tree | 59ed522612fbd16a2aa6541e9cd785f78d691925 /mumd/src/audio/input.rs | |
| parent | 154a2930b3bbe5ede06648c3a10b8fa4904277f4 (diff) | |
| download | mum-eb96b559680e42173c0571b65fcb7fb63afbab62.tar.gz | |
clean up depending on futures
Diffstat (limited to 'mumd/src/audio/input.rs')
| -rw-r--r-- | mumd/src/audio/input.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mumd/src/audio/input.rs b/mumd/src/audio/input.rs index deb0fb8..472c161 100644 --- a/mumd/src/audio/input.rs +++ b/mumd/src/audio/input.rs @@ -3,7 +3,7 @@ use tokio::sync::watch; use log::*; pub fn callback<T: Sample>( - mut input_sender: futures::channel::mpsc::Sender<f32>, + mut input_sender: futures_channel::mpsc::Sender<f32>, input_volume_receiver: watch::Receiver<f32>, ) -> impl FnMut(&[T], &InputCallbackInfo) + Send + 'static { move |data: &[T], _info: &InputCallbackInfo| { |
