summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2017-08-02 19:49:48 +0200
committerJustin Worthe <justin@worthe-it.co.za>2017-08-02 19:49:48 +0200
commit0d12e0525a82df774a3c21696764922a64fae613 (patch)
tree4c4fb341f820e3591daf3f9749872f053dbaf9c0 /src
parent3b4e312867dd81f1ab9fd864875b515c3fcb2fa1 (diff)
Removed unnecessary comment
Diffstat (limited to 'src')
-rw-r--r--src/audio.rs2
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
}
};