Skip to content

Commit

Permalink
Merge #210
Browse files Browse the repository at this point in the history
210: Update rodio to 0.8 r=kvark a=est31



Co-authored-by: est31 <[email protected]>
  • Loading branch information
bors[bot] and est31 committed Oct 9, 2018
2 parents e497bfc + b698bc6 commit 0802a33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ log = "0.4"
obj = { version = "0.8.1", features = ["genmesh"] }
phf = "0.7.12"
quick-error = "1.2"
rodio = "0.5"
rodio = "0.8"
mint = "0.5"
vec_map = "0.8"

Expand Down
2 changes: 1 addition & 1 deletion src/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl AudioData {
pub(crate) fn new() -> Self {
// TODO: Change to `r::default_endpoint()` in next `rodio` release.
#[allow(deprecated)]
let endpoint = if let Some(endpoint) = r::get_default_endpoint() {
let endpoint = if let Some(endpoint) = r::default_output_device() {
endpoint
} else {
// TODO: Better error handling
Expand Down

0 comments on commit 0802a33

Please sign in to comment.