summaryrefslogtreecommitdiff
path: root/src/audio.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2016-11-26 09:42:25 +0200
committerJustin Worthe <justin.worthe@gmail.com>2016-11-26 09:42:25 +0200
commitfba482b5545a6c02bf32d9dc4f261f6fc5556064 (patch)
treed5c54382fbcd82515d41dc899391b47b2aaa1a54 /src/audio.rs
parent14d8545f0c905ea94556919693c08fb887a3ce59 (diff)
Updated name of crate everywhere
Diffstat (limited to 'src/audio.rs')
-rw-r--r--src/audio.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/audio.rs b/src/audio.rs
index e418e94..bcee400 100644
--- a/src/audio.rs
+++ b/src/audio.rs
@@ -24,7 +24,8 @@ pub fn get_device_list(pa: &pa::PortAudio) -> Result<Vec<(u32, String)>, pa::Err
Ok(list)
}
-//#[test]
+#[test]
+#[ignore]
fn get_device_list_returns_devices() {
let pa = init().expect("Could not init portaudio");
let devices = get_device_list(&pa).expect("Getting devices had an error");
@@ -61,7 +62,8 @@ pub fn start_listening(pa: &pa::PortAudio, device_index: u32,
Ok(stream)
}
-//#[test]
+#[test]
+#[ignore]
fn start_listening_returns_successfully() {
let pa = init().expect("Could not init portaudio");
let devices = get_device_list(&pa).expect("Getting devices had an error");