int module_load(void) { INIT_SETTINGS_TABLES(); REGISTER_DEBUG(); MOD_OPTION_1_STR_REG(CiceroExecutable, "/usr/bin/cicero"); MOD_OPTION_1_STR_REG(CiceroExecutableLog, "/var/log/speech-dispatcher/cicero-executable.log"); return 0; }
int module_load(void) { INIT_SETTINGS_TABLES(); REGISTER_DEBUG(); /* Options */ MOD_OPTION_1_INT_REG(EspeakAudioChunkSize, 2000); MOD_OPTION_1_INT_REG(EspeakAudioQueueMaxSize, 20*22050); MOD_OPTION_1_STR_REG(EspeakSoundIconFolder, "/usr/share/sounds/sound-icons/"); MOD_OPTION_1_INT_REG(EspeakSoundIconVolume, 0); MOD_OPTION_1_INT_REG(EspeakPitchRange, 0); MOD_OPTION_1_STR_REG(EspeakPunctuationList, "@/+-_"); MOD_OPTION_1_INT_REG(EspeakCapitalPitchRise, 800); if (EspeakCapitalPitchRise == 1 || EspeakCapitalPitchRise == 2) { EspeakCapitalPitchRise = 0; } module_audio_id = NULL; return OK; }