From f14f77724d6a06b759280c0885ce1102388faa38 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Thu, 13 Jul 2023 20:47:53 +1000 Subject: more voice work!!! --- source/client/StarClientApplication.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/client/StarClientApplication.cpp') 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) { -- cgit v1.2.3