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

0.14.xのcoreのサポート #60

Open
yamachu opened this issue Oct 27, 2023 · 1 comment
Open

0.14.xのcoreのサポート #60

yamachu opened this issue Oct 27, 2023 · 1 comment
Labels
breaking Breaking changes enhancement New feature or request help wanted Extra attention is needed

Comments

@yamachu
Copy link
Owner

yamachu commented Oct 27, 2023

voicevox_engineで使用されているcoreのサポートをするかどうか、作るとしたらどう作るかを考えたい。

https://github.com/yamachu/VoicevoxEngineSharp
でも使えるように…みたいにしたいので、その辺りのinterfaceとかも整えられると嬉しい。

@yamachu yamachu added enhancement New feature or request help wanted Extra attention is needed breaking Breaking changes labels Oct 27, 2023
@yamachu
Copy link
Owner Author

yamachu commented Oct 27, 2023

https://github.com/yamachu/TryCSharpNativeCall
こんな感じでLoadして、またそれをContextを分けてinvokeする方法があるらしい。

https://learn.microsoft.com/ja-jp/dotnet/api/system.runtime.loader.assemblyloadcontext?view=net-7.0

この辺りをいい感じにラップして、このライブラリ使用者からは意識させないような形にすると嬉しいかもしれない。

Core /* IDsposable */core = new VoicevoxCore(CORE_VERSION.CORE_0_14)

みたいな…?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking changes enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant