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

change!(java): blockingパッケージを作ってクラス移動 #861

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Oct 23, 2024

内容

Java APIにvoicevoxcore.blockingパッケージを作り、Synthesizerなどをそこに入れる。それに伴い、同期版APIでも非同期版APIでも共通するであろう次のクラスは分離してblockingの外のパッケージに置く。

  • voicevoxcore.{Synthesizer. => }AccelerationMode
  • voicevoxcore.{VoiceModelFile. => }SpeakerMeta
  • voicevoxcore.{VoiceModelFile. => }StyleMeta
  • voicevoxcore.{VoiceModelFile. => }StyleType
  • voicevoxcore.{UserDict.Word => UserDictWord}

関連 Issue

Refs: #769 (comment)

その他

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本PRのなかで唯一これだけ役割と挙動の変更を行っている。

他は全部コード移動。

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

正直ちょっとよくわからないけど、LGTM!!

javaちょっと読める方に変なとこありそうかとか若干任せたみ!
けどまぁそんな構造の改造が入ってないので、そのままマージでも良さそう感。

@qryxip qryxip removed the request for review from sevenc-nanashi November 4, 2024 05:58
@qryxip
Copy link
Member Author

qryxip commented Nov 4, 2024

一週間以上経ったのでマージしちゃおうと思います!

@qryxip qryxip merged commit 006b4f0 into VOICEVOX:main Nov 4, 2024
30 checks passed
@qryxip qryxip deleted the change-java-create-blocking-package-and-move-classes branch November 4, 2024 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants