Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/client
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-13 20:47:53 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-13 20:47:53 +1000
commitf14f77724d6a06b759280c0885ce1102388faa38 (patch)
tree4732989ad210fd7d4c76b1fab94f75cc3abdb032 /source/client
parent212de6b876aaeb916b1e2565740fc65031d906c4 (diff)
more voice work!!!
Diffstat (limited to 'source/client')
-rw-r--r--source/client/StarClientApplication.cpp5
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) {