Merge pull request #16 from tomaka/update

Update for rustc
This commit is contained in:
tomaka 2015-01-29 15:00:54 +01:00
commit 7029c74699
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[package] [package]
name = "cpal" name = "cpal"
version = "0.0.10-pre" version = "0.0.11-pre"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"] authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "Cross-platform audio playing library in pure Rust." description = "Cross-platform audio playing library in pure Rust."
repository = "https://github.com/tomaka/cpal" repository = "https://github.com/tomaka/cpal"

View File

@ -1,7 +1,7 @@
extern crate cpal; extern crate cpal;
extern crate vorbis; extern crate vorbis;
use std::io::BufReader; use std::old_io::BufReader;
fn main() { fn main() {
let mut channel = cpal::Voice::new(); let mut channel = cpal::Voice::new();

View File

@ -58,7 +58,7 @@ impl Voice {
if frames_available == 0 { if frames_available == 0 {
// TODO: // TODO:
::std::io::timer::sleep(::std::time::duration::Duration::milliseconds(1)); ::std::old_io::timer::sleep(::std::time::duration::Duration::milliseconds(1));
continue; continue;
} }