use audio resampler on the write_to_disk example (#68)

This commit is contained in:
Théo Monnom
2023-05-13 01:48:06 +02:00
committed by GitHub
parent 76210c9f67
commit 2cad45cb39
4 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -611,7 +611,7 @@ impl FfiServer {
fn new_audio_resampler(
&'static self,
new_resampler: proto::NewAudioResamplerRequest,
_: proto::NewAudioResamplerRequest,
) -> FfiResult<proto::NewAudioResamplerResponse> {
let resampler = audio_resampler::AudioResampler::default();
let resampler = Arc::new(Mutex::new(resampler));