PXCVoiceRecognition instance

PXCVoiceRecognition instance

Hi, Guru

Why Voice recognition doesn't work when PXCVoiceRecognition instance created globally. Is this expected result?

// Create PXCVoiceRecognition instance
 PXCSmartPtr<PXCVoiceRecognition> vc;

2 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

PXCSmartPtr<PXCVoiceRecognition> vc does not actually create an instance of the interface. The statement only initializes a zero-pointer. You still have to initialize it somewhere by calling CreateImpl from the SDK session.

登陆并发表评论。