Chore: Update Rubato -> 0.14.1
This commit is contained in:
@@ -31,7 +31,7 @@ pin-project = "1"
|
|||||||
rand = { optional = true, version = "0.8" }
|
rand = { optional = true, version = "0.8" }
|
||||||
reqwest = { default-features = false, features = ["stream"], optional = true, version = "0.11" }
|
reqwest = { default-features = false, features = ["stream"], optional = true, version = "0.11" }
|
||||||
ringbuf = { optional = true, version = "0.3" }
|
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" }
|
rusty_pool = { optional = true, version = "0.7" }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde-aux = { optional = true, version = "4"}
|
serde-aux = { optional = true, version = "4"}
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ pub fn mix_symph_indiv(
|
|||||||
chan_c,
|
chan_c,
|
||||||
)
|
)
|
||||||
.expect("Failed to create resampler.");
|
.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)
|
(chan_c, resampler, out_buf)
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ impl ToAudioBytes {
|
|||||||
)
|
)
|
||||||
.expect("Failed to create resampler.");
|
.expect("Failed to create resampler.");
|
||||||
|
|
||||||
let resampled_data = resampler.output_buffer_allocate();
|
let resampled_data = resampler.output_buffer_allocate(false);
|
||||||
|
|
||||||
ResampleState {
|
ResampleState {
|
||||||
resampled_data,
|
resampled_data,
|
||||||
|
|||||||
Reference in New Issue
Block a user