diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2017-08-02 19:49:48 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2017-08-02 19:49:48 +0200 |
commit | 0d12e0525a82df774a3c21696764922a64fae613 (patch) | |
tree | 4c4fb341f820e3591daf3f9749872f053dbaf9c0 /src | |
parent | 3b4e312867dd81f1ab9fd864875b515c3fcb2fa1 (diff) |
Removed unnecessary comment
Diffstat (limited to 'src')
-rw-r--r-- | src/audio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.rs b/src/audio.rs index 2b36717..421c131 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -53,7 +53,7 @@ pub fn start_listening(pa: &pa::PortAudio, device_index: u32, let callback = move |pa::InputStreamCallbackArgs { buffer, .. }| { match sender.send(Vec::from(buffer)) { Ok(_) => pa::Continue, - Err(_) => pa::Complete //this happens when receiver is dropped + Err(_) => pa::Complete } }; |