Skip to content

Commit

Permalink
Java APIでもRUNTIMEderef
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Nov 3, 2023
1 parent ad276f8 commit 9c34bf1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/voicevox_core_java_api/src/synthesizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ unsafe extern "system" fn Java_jp_hiroshiba_voicevoxcore_Synthesizer_rsNew<'loca
builder: JObject<'local>,
) {
throw_if_err(env, (), |env| {
// ロガーを起動
// FIXME: `throw_if_err`を`run`とかに改名し、`init_logger`をその中に移動
let _ = *RUNTIME;

let mut options = voicevox_core::InitializeOptions::default();

let acceleration_mode = env
Expand Down

0 comments on commit 9c34bf1

Please sign in to comment.