Skip to content

Commit

Permalink
voicevox_{,synthesizer_}is_loaded_voice_model
Browse files Browse the repository at this point in the history
VOICEVOX#370 (comment)

Co-authored-by: Hiroshiba <[email protected]>
  • Loading branch information
qryxip and Hiroshiba committed Jun 13, 2023
1 parent 2fe08c4 commit d7d1052
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions crates/voicevox_core_c_api/include/voicevox_core.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/voicevox_core_c_api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ pub extern "C" fn voicevox_synthesizer_is_gpu_mode(synthesizer: &VoicevoxSynthes
/// @param synthesizer 有効な #VoicevoxSynthesizer へのポインタであること
/// @param model_id NULL終端文字列
#[no_mangle]
pub unsafe extern "C" fn voicevox_is_loaded_voice_model(
pub unsafe extern "C" fn voicevox_synthesizer_is_loaded_voice_model(
synthesizer: &VoicevoxSynthesizer,
model_id: VoicevoxVoiceModelId,
) -> bool {
Expand Down
4 changes: 2 additions & 2 deletions crates/voicevox_core_c_api/tests/e2e/symbols.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub(crate) struct Symbols<'lib> {
>,
pub(crate) voicevox_synthesizer_is_gpu_mode:
Symbol<'lib, unsafe extern "C" fn(*const VoicevoxSynthesizer) -> bool>,
pub(crate) voicevox_is_loaded_voice_model: Symbol<
pub(crate) voicevox_synthesizer_is_loaded_voice_model: Symbol<
'lib,
unsafe extern "C" fn(*const VoicevoxSynthesizer, VoicevoxVoiceModelId) -> bool,
>,
Expand Down Expand Up @@ -150,7 +150,7 @@ impl<'lib> Symbols<'lib> {
voicevox_synthesizer_load_voice_model,
voicevox_synthesizer_unload_voice_model,
voicevox_synthesizer_is_gpu_mode,
voicevox_is_loaded_voice_model,
voicevox_synthesizer_is_loaded_voice_model,
voicevox_synthesizer_get_metas_json,
voicevox_create_supported_devices_json,
voicevox_synthesizer_audio_query,
Expand Down

0 comments on commit d7d1052

Please sign in to comment.