Driver: Correct buffer instantiation for Rubato
I had slightly misread the changes from 0.12->0.14, so buffers were not correctly instantiated for resampling.
This commit is contained in:
@@ -88,7 +88,7 @@ impl ToAudioBytes {
|
||||
)
|
||||
.expect("Failed to create resampler.");
|
||||
|
||||
let resampled_data = resampler.output_buffer_allocate(false);
|
||||
let resampled_data = resampler.output_buffer_allocate(true);
|
||||
|
||||
ResampleState {
|
||||
resampled_data,
|
||||
|
||||
Reference in New Issue
Block a user