Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: liberate VOICEVOX CORE #825

Merged
merged 43 commits into from
Jan 15, 2025
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
c6e0935
change: liberate VOICEVOX CORE
qryxip Aug 26, 2024
6e1cafb
ortをアップデート
qryxip Aug 31, 2024
a5f009c
`bin` → `vv-bin`
qryxip Aug 31, 2024
92fb4c9
ortをアップデート
qryxip Aug 31, 2024
38687d5
ortをアップデート
qryxip Sep 2, 2024
ff70980
`"type": "vv-bin"` → `"type": "vv_bin"`
qryxip Sep 2, 2024
b87afd8
`inputs.is_production`を残す
qryxip Sep 2, 2024
80345e5
嘘コメントをリバート
qryxip Sep 4, 2024
148fa5d
`install_name_tool`でのrpath変更をvoicevox_onnxruntime.framework宛てに
qryxip Sep 4, 2024
688c03f
Merge branch 'main' into change-liberate-voicevox-core
qryxip Sep 5, 2024
89ea1f9
Merge branch 'main' into change-liberate-voicevox-core
qryxip Sep 6, 2024
accb03f
Merge branch 'main' into change-liberate-voicevox-core
qryxip Sep 12, 2024
026ff6f
Merge branch 'main' into change-liberate-voicevox-core
qryxip Sep 19, 2024
c5db7b8
Merge branch 'main' into change-liberate-voicevox-core
qryxip Sep 19, 2024
d5bce52
Merge branch 'main' into change-liberate-voicevox-core
qryxip Sep 19, 2024
0b63929
Merge branch 'main' into change-liberate-voicevox-core
qryxip Sep 26, 2024
b1175b2
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 3, 2024
bb0c57f
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 4, 2024
012ac5a
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 8, 2024
5cf7fcb
Fix a test
qryxip Oct 8, 2024
929fec2
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 13, 2024
10a6111
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 13, 2024
c61141c
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 13, 2024
7780c34
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 14, 2024
17fedd5
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 21, 2024
2579467
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 23, 2024
5187f9e
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 25, 2024
f9e3cde
Merge branch 'main' into change-liberate-voicevox-core
qryxip Oct 29, 2024
09ffd63
Merge branch 'main' into change-liberate-voicevox-core
qryxip Nov 2, 2024
21e3e79
Merge branch 'main' into change-liberate-voicevox-core
qryxip Nov 27, 2024
3fa5a64
Merge branch 'main' into change-liberate-voicevox-core
qryxip Nov 29, 2024
ea4885e
Merge branch 'main' into change-liberate-voicevox-core
qryxip Dec 10, 2024
c5617c8
Merge branch 'main' into change-liberate-voicevox-core
qryxip Dec 12, 2024
9fde4e7
Merge branch 'main' into change-liberate-voicevox-core
qryxip Dec 12, 2024
a7599dd
Merge branch 'main' into change-liberate-voicevox-core
qryxip Dec 20, 2024
4586130
Merge branch 'main' into change-liberate-voicevox-core
qryxip Dec 24, 2024
48d1264
Merge branch 'main' into change-liberate-voicevox-core
qryxip Dec 31, 2024
770654b
Merge branch 'main' into change-liberate-voicevox-core
qryxip Jan 4, 2025
eba4de8
Merge branch 'main' into change-liberate-voicevox-core
qryxip Jan 4, 2025
a617747
Merge branch 'main' into change-liberate-voicevox-core
qryxip Jan 5, 2025
30e4b69
`voicevox_core` (Rust API)をMIT Licenseと宣言
qryxip Jan 5, 2025
2100535
Merge branch 'main' into change-liberate-voicevox-core
qryxip Jan 9, 2025
3a7bde5
Merge branch 'main' into change-liberate-voicevox-core
qryxip Jan 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix a test
qryxip committed Oct 8, 2024
commit 5cf7fcbc444c4a1279110379324fa790ca19a5c2
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
//! `voicevox_synthesizer_delete`を二度呼ぶとクラッシュすることを確認する。

use std::{ffi::CString, mem::MaybeUninit, sync::LazyLock};
use std::{
env,
ffi::{CStr, CString},
mem::MaybeUninit,
sync::LazyLock,
};

use assert_cmd::assert::AssertResult;
use const_format::concatcp;
use indexmap::IndexSet;
use libloading::Library;
use serde::{Deserialize, Serialize};
use test_util::{
c_api::{self, CApi, VoicevoxInitializeOptions, VoicevoxResultCode},
c_api::{
self, CApi, VoicevoxInitializeOptions, VoicevoxLoadOnnxruntimeOptions, VoicevoxResultCode,
},
OPEN_JTALK_DIC_DIR,
};

@@ -28,10 +36,24 @@ impl assert_cdylib::TestCase for TestCase {

let onnxruntime = {
let mut onnxruntime = MaybeUninit::uninit();
assert_ok(lib.voicevox_onnxruntime_load_once(
lib.voicevox_make_default_load_onnxruntime_options(),
onnxruntime.as_mut_ptr(),
));
assert_ok(
lib.voicevox_onnxruntime_load_once(
VoicevoxLoadOnnxruntimeOptions {
filename: CStr::from_bytes_with_nul(
concatcp!(
env::consts::DLL_PREFIX,
"onnxruntime",
env::consts::DLL_SUFFIX,
'\0'
)
.as_ref(),
)
.expect("this ends with nul")
.as_ptr(),
},
onnxruntime.as_mut_ptr(),
),
);
onnxruntime.assume_init()
};