/// <summary> /// XML file and creates a list of TTSEngines from it. The /// extension dirs parameter contains the root directory under /// which to search for TTSEngine DLL files. The directories /// are specified in a comma delimited fashion. /// E.g. Default, MyCustomACATDir /// These are relative to the application execution directory or /// to the directory where ACAT has been installed. /// It recusrively walks the directories and looks for TTS Engine /// extension DLL files /// </summary> /// <param name="extensionDirs">Directories to search</param> /// <returns>true on success</returns> public bool Init(IEnumerable <String> extensionDirs) { bool retVal = true; if (_ttsEngines == null) { _ttsEngines = new TTSEngines(); retVal = _ttsEngines.Load(extensionDirs); } return(retVal); }
/// <summary> /// XML file and creates a list of TTSEngines from it. The /// extension dirs parameter contains the root directory under /// which to search for TTSEngine DLL files. The directories /// are specified in a comma delimited fashion. /// E.g. Base, Hawking /// These are relative to the application execution directory or /// to the directory where ACAT has been installed. /// It recusrively walks the directories and looks for TTS Engine /// extension DLL files /// </summary> /// <param name="extensionDirs">Directories to search</param> /// <returns>true on success</returns> public bool Init(IEnumerable<String> extensionDirs) { bool retVal = true; if (_ttsEngines == null) { _ttsEngines = new TTSEngines(); retVal = _ttsEngines.Load(extensionDirs); } return retVal; }