From 7e50250e64585d97bcd73630a593c237b4458887 Mon Sep 17 00:00:00 2001 From: qwerty2501 <939468+qwerty2501@users.noreply.github.com> Date: Wed, 24 Aug 2022 02:17:17 +0900 Subject: [PATCH] =?UTF-8?q?Auto=3D0=E3=81=A8=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/voicevox_core_c_api/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/voicevox_core_c_api/src/lib.rs b/crates/voicevox_core_c_api/src/lib.rs index 8b911d55a..d475f705f 100644 --- a/crates/voicevox_core_c_api/src/lib.rs +++ b/crates/voicevox_core_c_api/src/lib.rs @@ -38,9 +38,9 @@ pub use voicevox_core::result_code::VoicevoxResultCode; #[derive(Debug, PartialEq, Eq)] #[allow(non_camel_case_types)] pub enum VoicevoxAccelerationMode { - VOICEVOX_ACCELERATION_MODE_AUTO = 1, - VOICEVOX_ACCELERATION_MODE_CPU = 2, - VOICEVOX_ACCELERATION_MODE_GPU = 3, + VOICEVOX_ACCELERATION_MODE_AUTO = 0, + VOICEVOX_ACCELERATION_MODE_CPU = 1, + VOICEVOX_ACCELERATION_MODE_GPU = 2, } #[repr(C)]