Skip to content

Commit

Permalink
Chore: Update Rubato -> 0.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMcFelix committed Nov 20, 2023
1 parent 4220c1f commit 67b3b3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pin-project = "1"
rand = { optional = true, version = "0.8" }
reqwest = { default-features = false, features = ["stream"], optional = true, version = "0.11" }
ringbuf = { optional = true, version = "0.3" }
rubato = { optional = true, version = "0.12" }
rubato = { optional = true, version = "0.14.1" }
rusty_pool = { optional = true, version = "0.7" }
serde = { version = "1", features = ["derive"] }
serde-aux = { optional = true, version = "4"}
Expand Down
2 changes: 1 addition & 1 deletion src/driver/tasks/mixer/mix_logic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ pub fn mix_symph_indiv(
chan_c,
)
.expect("Failed to create resampler.");
let out_buf = resampler.output_buffer_allocate();
let out_buf = resampler.output_buffer_allocate(false);

(chan_c, resampler, out_buf)
});
Expand Down
2 changes: 1 addition & 1 deletion src/input/adapters/cached/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl ToAudioBytes {
)
.expect("Failed to create resampler.");

let resampled_data = resampler.output_buffer_allocate();
let resampled_data = resampler.output_buffer_allocate(false);

ResampleState {
resampled_data,
Expand Down

0 comments on commit 67b3b3e

Please sign in to comment.