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

View File

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

View File

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