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:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::kwd
 

Macros

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

Functions

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

Variables

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 Kitt.ai engine constructor parameters. More...
 
static const avsCommon::utils::AudioFormat::Encoding alexaClientSDK::kwd::KITT_AI_COMPATIBLE_ENCODING
 The Kitt.ai compatible audio encoding of LPCM. More...
 
static const avsCommon::utils::AudioFormat::Endianness alexaClientSDK::kwd::KITT_AI_COMPATIBLE_ENDIANNESS
 The Kitt.ai compatible endianness which is little endian. More...
 
static const int alexaClientSDK::kwd::KITT_AI_SILENCE_DETECTION_RESULT = -2
 Kitt.ai returns -2 if silence is detected. More...
 
static const int alexaClientSDK::kwd::KITT_AI_ERROR_DETECTION_RESULT = -1
 Kitt.ai returns -1 if an error occurred. More...
 
static const int alexaClientSDK::kwd::KITT_AI_NO_DETECTION_RESULT = 0
 Kitt.ai 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.

Parameters
Theevent string for this LogEntry.

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