Skip to content

Commit

Permalink
Merge pull request plietar#13 from lawrencejones/up-and-running
Browse files Browse the repository at this point in the history
Runs against nightly build v1.7.0
  • Loading branch information
plietar committed Dec 18, 2015
2 parents fe56604 + 85c1925 commit 2b420fa
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ You will also need the protobuf compiler, and the
[rust-protobuf](https://github.com/stepancheg/rust-protobuf) plugin.
`protoc-gen-rust` must be in your `$PATH`.

Also required is an installation of [portaudio](http://portaudio.com/), which
can be installed via `brew install portaudio` for an OS X machine.

Once you've cloned this repository you can build *librespot* using `cargo`.
```shell
cargo build
Expand Down
2 changes: 2 additions & 0 deletions cache/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 1 addition & 1 deletion protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ authors = ["Paul Liétar <[email protected]>"]
build = "build.rs"

[dependencies]
mod_path = "~0.1.5"
mod_path = "~0.1.6"
protobuf = "~1.0.4"

2 changes: 1 addition & 1 deletion src/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl PlayerInternal {
fn run(self) {
portaudio::initialize().unwrap();

let stream = portaudio::stream::Stream::<i16>::open_default(
let stream = portaudio::stream::Stream::<i16, i16>::open_default(
0, 2, 44100.0,
portaudio::stream::FRAMES_PER_BUFFER_UNSPECIFIED,
None
Expand Down

0 comments on commit 2b420fa

Please sign in to comment.