From c94d8c0e830776cc51ce6ef34b7c59ee5e0ccdcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Fri, 3 May 2024 17:53:26 +0800 Subject: [PATCH] remove warnings --- plugins/shareddllproxy/voiceroid2/ebyroid.cc | 2 +- plugins/shareddllproxy/voiceroid2/voice2.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/shareddllproxy/voiceroid2/ebyroid.cc b/plugins/shareddllproxy/voiceroid2/ebyroid.cc index 3f3c70b7..86c70502 100644 --- a/plugins/shareddllproxy/voiceroid2/ebyroid.cc +++ b/plugins/shareddllproxy/voiceroid2/ebyroid.cc @@ -263,7 +263,7 @@ namespace ebyroid param->speaker[0].pause_long = 100; param->speaker[0].range = 0.893;*/ param->speaker[0].speed = speed; - printf("2 %d %d\n", volume, speed); + //printf("2 %d %d\n", volume, speed); result = adapter->SetParam(param); printf("3 %d\n", result); if (result != ERR_SUCCESS) diff --git a/plugins/shareddllproxy/voiceroid2/voice2.cpp b/plugins/shareddllproxy/voiceroid2/voice2.cpp index 25b3b1e5..6b932085 100644 --- a/plugins/shareddllproxy/voiceroid2/voice2.cpp +++ b/plugins/shareddllproxy/voiceroid2/voice2.cpp @@ -29,7 +29,7 @@ int voiceroid2wmain(int argc, wchar_t *wargv[]) ebyroid = Ebyroid::Create((const char *)argv[1], //"C:\\dataH\\Yukari2", (const char *)argv[2], (const char *)argv[3], //"yukari_emo_44", - 2, // �̶�������� + 2, atof((const char *)argv[5])); // 1); //0.1-2,0.5-4 SetEvent(CreateEventA(&allAccess, FALSE, FALSE, argv[8]));