16 #ifndef AACE_ALEXA_SPEECH_RECOGNIZER_H 17 #define AACE_ALEXA_SPEECH_RECOGNIZER_H 19 #include <AACE/Core/PlatformInterface.h> 20 #include "AlexaEngineInterfaces.h" 55 static constexpr uint64_t UNSPECIFIED_INDEX = SpeechRecognizerEngineInterface::UNSPECIFIED_INDEX;
98 bool startCapture(
Initiator initiator, uint64_t keywordBegin = UNSPECIFIED_INDEX, uint64_t keywordEnd = UNSPECIFIED_INDEX,
const std::string& keyword =
"" );
151 void setEngineInterface( std::shared_ptr<aace::alexa::SpeechRecognizerEngineInterface> speechRecognizerEngineInterface );
154 std::weak_ptr<aace::alexa::SpeechRecognizerEngineInterface> m_speechRecognizerEngineInterface;
156 bool m_wakewordDetectionEnabled;
162 #endif // AACE_ALEXA_SPEECH_RECOGNIZER_H bool stopCapture()
Definition: SpeechRecognizer.cpp:43
bool isWakewordDetectionEnabled()
Definition: SpeechRecognizer.cpp:76
virtual void endOfSpeechDetected()
Definition: SpeechRecognizer.cpp:84
Definition: AddressBook.h:26
bool enableWakewordDetection()
Definition: SpeechRecognizer.cpp:52
Definition: SpeechRecognizer.h:39
bool holdToTalk()
Definition: SpeechRecognizer.cpp:26
bool tapToTalk()
Definition: SpeechRecognizer.cpp:30
virtual bool wakewordDetected(const std::string &wakeword)
Definition: SpeechRecognizer.cpp:80
bool disableWakewordDetection()
Definition: SpeechRecognizer.cpp:64
Initiator
Definition: AlexaEngineInterfaces.h:77
bool startCapture(Initiator initiator, uint64_t keywordBegin=UNSPECIFIED_INDEX, uint64_t keywordEnd=UNSPECIFIED_INDEX, const std::string &keyword="")
Definition: SpeechRecognizer.cpp:34