forked from VOICEVOX/voicevox_core
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0412e5
commit 560b0e5
Showing
6 changed files
with
103 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
use super::*; | ||
|
||
/// ::voicevox_initialize のオプション。 | ||
#[deprecated(note = "VoicevoxInitializeSynthesizerOptions を使ってください。")] | ||
#[repr(C)] | ||
pub struct VoicevoxInitializeOptions { | ||
/// ハードウェアアクセラレーションモード | ||
acceleration_mode: VoicevoxAccelerationMode, | ||
/// CPU利用数を指定 | ||
/// 0を指定すると環境に合わせたCPUが利用される | ||
cpu_num_threads: u16, | ||
/// 全てのモデルを読み込む | ||
load_all_models: bool, | ||
/// open_jtalkの辞書ディレクトリ | ||
open_jtalk_dict_dir: *const c_char, | ||
} | ||
|
||
#[no_mangle] | ||
#[deprecated(note = "voicevox_synthesizer_new_with_initialize を使ってください。")] | ||
/// 初期化する。 | ||
/// | ||
/// @param [in] options オプション | ||
/// @returns 結果コード | ||
pub extern "C" fn voicevox_initialize(options: VoicevoxInitializeOptions) -> VoicevoxResultCode { | ||
todo!() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 0.14 から 0.15 への移行 | ||
|
||
TODO |