Skip to content

Commit

Permalink
optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanPudashkin committed Jul 4, 2023
1 parent ad004b3 commit 13bd0e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/framework/audio/audiomodule.cpp
Expand Up @@ -191,9 +191,14 @@ void AudioModule::onInit(const framework::IApplication::RunMode& mode)

// Init configuration
m_configuration->init();
m_soundFontRepository->init();
m_registerAudioPluginsScenario->init();

if (mode == framework::IApplication::RunMode::AudioPluginRegistration) {
return;
}

m_soundFontRepository->init();

m_audioBuffer->init(m_configuration->audioChannelsCount(),
m_configuration->renderStep());

Expand Down

0 comments on commit 13bd0e9

Please sign in to comment.