diff options
| author | Eskil Queseth <eskilq@kth.se> | 2021-06-12 17:09:15 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2021-06-12 17:09:15 +0200 |
| commit | 09cf98857e39d75ed6034259a6fefe48e5998a71 (patch) | |
| tree | 4257252308bd81aa596fb54e78cc7ba5c99f88ea /mumd/src/audio.rs | |
| parent | 5b2e2c4e266c61f35f7bcfbc603e02070b54e7d0 (diff) | |
| download | mum-09cf98857e39d75ed6034259a6fefe48e5998a71.tar.gz | |
lift inits one level
Diffstat (limited to 'mumd/src/audio.rs')
| -rw-r--r-- | mumd/src/audio.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mumd/src/audio.rs b/mumd/src/audio.rs index 29c5668..8ddf377 100644 --- a/mumd/src/audio.rs +++ b/mumd/src/audio.rs @@ -79,7 +79,6 @@ impl AudioInput { phase_watcher: watch::Receiver<StatePhase>, ) -> Result<Self, AudioError> { let mut default = DefaultAudioInputDevice::new(input_volume, phase_watcher, 4)?; - let sample_rate = SampleRate(SAMPLE_RATE); let opus_stream = default.sample_receiver().unwrap() .enumerate() |
