Merge branch 'v0.23.x'

This commit is contained in:
Max Kellermann
2021-12-06 21:32:48 +01:00
6 changed files with 58 additions and 14 deletions
+1 -2
View File
@@ -140,8 +140,7 @@ LibsampleratePcmResampler::Resample2(ConstBuffer<float> src)
throw FormatRuntimeError("libsamplerate has failed: %s",
src_strerror(result));
return ConstBuffer<float>(data.data_out,
data.output_frames_gen * channels);
return {data.data_out, size_t(data.output_frames_gen * channels)};
}
ConstBuffer<void>