diff options
| author | Eskil Q <eskilq@kth.se> | 2020-12-27 22:45:56 +0100 |
|---|---|---|
| committer | Eskil Q <eskilq@kth.se> | 2020-12-27 22:45:56 +0100 |
| commit | 4613c6b269d7842645d050bb3482cf7efcfa1946 (patch) | |
| tree | 1aa9bdb912e5d548eab9741a76b93bedeb1a4853 /mumd/src/audio/input.rs | |
| parent | f063ae0abc37952d718be961309a53c88ad2e0e0 (diff) | |
| parent | 6b7de396fd8681f1f55c786225fe7aebfccaf842 (diff) | |
| download | mum-4613c6b269d7842645d050bb3482cf7efcfa1946.tar.gz | |
Merge branch 'tokio-1.0' into main
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 7405fdb..fe0d21f 100644 --- a/mumd/src/audio/input.rs +++ b/mumd/src/audio/input.rs @@ -7,7 +7,7 @@ use tokio::sync::{mpsc, watch}; pub fn callback<T: Sample>( mut opus_encoder: opus::Encoder, - mut input_sender: mpsc::Sender<VoicePacketPayload>, + input_sender: mpsc::Sender<VoicePacketPayload>, sample_rate: u32, input_volume_receiver: watch::Receiver<f32>, opus_frame_size_blocks: u32, // blocks of 2.5ms |
