Update for rustc

This commit is contained in:
Pierre Krieger 2015-01-29 14:54:31 +01:00
parent 284f12f1cb
commit 2e6143269a
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;
}