More work on audio prompts.

This commit is contained in:
Jonathan Naylor
2017-05-01 20:05:41 +01:00
parent b9ebdee601
commit 196908bedc
10 changed files with 272 additions and 13 deletions

View File

@@ -250,13 +250,15 @@ int CDMRGateway::run()
CVoice* voice = NULL;
if (m_conf.getVoiceEnabled()) {
std::string language = m_conf.getVoiceLanguage();
std::string language = m_conf.getVoiceLanguage();
std::string directory = m_conf.getVoiceDirectory();
LogInfo("Voice Parameters");
LogInfo(" Enabled: yes");
LogInfo(" Language: %s", language.c_str());
LogInfo(" Directory: %s", directory.c_str());
voice = new CVoice(language, xlxSlot, xlxTG);
voice = new CVoice(directory, language, m_repeater->getId(), xlxSlot, xlxTG);
bool ret = voice->open();
if (!ret) {