diff --git a/crates/voicevox_core/src/synthesizer.rs b/crates/voicevox_core/src/synthesizer.rs index 7c21e49f3..040094860 100644 --- a/crates/voicevox_core/src/synthesizer.rs +++ b/crates/voicevox_core/src/synthesizer.rs @@ -1044,7 +1044,7 @@ mod inner { )?; let output_with_margin = self.render_audio_segment(intermediate, style_id)?; let output = trim_margin_from_wave(output_with_margin); - Ok(output.into_raw_vec()) + Ok(output.to_vec()) } }