AlexaClientSDK  1.24.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
KittAiKeyWordDetector.cpp File Reference
#include <memory>
#include <sstream>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <AVSCommon/Utils/Memory/Memory.h>
#include "KittAi/KittAiKeyWordDetector.h"
Include dependency graph for KittAiKeyWordDetector.cpp:


 Whether or not curl logs should be emitted.


#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)


static const std::string alexaClientSDK::kwd::TAG ("KittAiKeyWordDetector")


static const size_t alexaClientSDK::kwd::HERTZ_PER_KILOHERTZ = 1000
 The number of hertz per kilohertz. More...
const std::chrono::milliseconds alexaClientSDK::kwd::TIMEOUT_FOR_READ_CALLS = std::chrono::milliseconds(1000)
 The timeout to use for read calls to the SharedDataStream. More...
static const std::string alexaClientSDK::kwd::KITT_DELIMITER = ","
 The delimiter for engine constructor parameters. More...
static const avsCommon::utils::AudioFormat::Encoding alexaClientSDK::kwd::KITT_AI_COMPATIBLE_ENCODING
 The compatible audio encoding of LPCM. More...
static const avsCommon::utils::AudioFormat::Endianness alexaClientSDK::kwd::KITT_AI_COMPATIBLE_ENDIANNESS
 The compatible endianness which is little endian. More...
static const int alexaClientSDK::kwd::KITT_AI_SILENCE_DETECTION_RESULT = -2 returns -2 if silence is detected. More...
static const int alexaClientSDK::kwd::KITT_AI_ERROR_DETECTION_RESULT = -1 returns -1 if an error occurred. More...
static const int alexaClientSDK::kwd::KITT_AI_NO_DETECTION_RESULT = 0 returns 0 if no keyword was detected but audio has been heard. More...

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Theevent string for this LogEntry.

AlexaClientSDK 1.24.0 - Copyright 2016-2021, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0