Fix warnings and reduce scope of libc (#166)

This commit is contained in:
tomaka 2017-10-19 12:44:14 +02:00 • committed by GitHub
parent 6ae01f437c
commit c28407b26d
6 changed files with 2 additions and 12 deletions

View file

@ -1,9 +1,5 @@
extern crate cpal;
use std::sync::Arc;
use std::thread;
use std::time::Duration;
fn main() {
let endpoint = cpal::default_endpoint().expect("Failed to get default endpoint");
let format = endpoint