diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-13 20:47:53 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-13 20:47:53 +1000 |
commit | f14f77724d6a06b759280c0885ce1102388faa38 (patch) | |
tree | 4732989ad210fd7d4c76b1fab94f75cc3abdb032 /source/client | |
parent | 212de6b876aaeb916b1e2565740fc65031d906c4 (diff) |
more voice work!!!
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/StarClientApplication.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/client/StarClientApplication.cpp b/source/client/StarClientApplication.cpp index c58b6b5..f1c7595 100644 --- a/source/client/StarClientApplication.cpp +++ b/source/client/StarClientApplication.cpp @@ -208,6 +208,11 @@ void ClientApplication::applicationInit(ApplicationControllerPtr appController) appController->setMaxFrameSkip(assets->json("/client.config:maxFrameSkip").toUInt()); appController->setUpdateTrackWindow(assets->json("/client.config:updateTrackWindow").toFloat()); + + if (auto jVoice = configuration->get("voice")) + m_voice->loadJson(jVoice.toObject()); + + m_voice->init(); } void ClientApplication::renderInit(RendererPtr renderer) { |