コード例 #1
0
 internal bool TTSInitialize()
 {
     if (!_ttsIsInitialized)
     {
         // NB: once there's more than one tts_engine type available we'll need to make a public TTSInitialize() method.
         vx_tts_status status = VivoxCoreInstance.vx_tts_initialize(vx_tts_engine_type.tts_engine_vivox_default, out _ttsManagerId);
         if (vx_tts_status.tts_status_success == status)
         {
             _ttsIsInitialized = true;
         }
     }
     return(_ttsIsInitialized);
 }