diff --git a/crates/voicevox_core/src/synthesizer.rs b/crates/voicevox_core/src/synthesizer.rs index e027e3303..09dac36f5 100644 --- a/crates/voicevox_core/src/synthesizer.rs +++ b/crates/voicevox_core/src/synthesizer.rs @@ -474,7 +474,7 @@ mod inner { end: usize, ) -> Result> { // TODO: 44.1kHzなどの対応 - let spec_segment = crop_with_margin(&audio, start..end)?; + let spec_segment = crop_with_margin(audio, start..end)?; let wave_with_margin = self .render_audio_segment(spec_segment.to_owned(), audio.style_id) .await?;