AlexaClientSDK  1.25.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
SensoryKeywordDetector.cpp File Reference
#include <memory>
#include <AVSCommon/Utils/Logger/Logger.h>
#include "Sensory/SensoryKeywordDetector.h"
Include dependency graph for SensoryKeywordDetector.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 ("SensoryKeywordDetector")
 String to identify log entries originating from this file. More...
 
static bool alexaClientSDK::kwd::isAudioFormatCompatibleWithSensory (avsCommon::utils::AudioFormat audioFormat)
 
static std::string alexaClientSDK::kwd::getSensoryDetails (SnsrSession session, SnsrRC result)
 

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 unsigned int alexaClientSDK::kwd::SENSORY_COMPATIBLE_SAMPLE_RATE = 16000
 The Sensory compatible AVS sample rate of 16 kHz. More...
 
static const unsigned int alexaClientSDK::kwd::SENSORY_COMPATIBLE_SAMPLE_SIZE_IN_BITS = 16
 The Sensory compatible bits per sample of 16. More...
 
static const unsigned int alexaClientSDK::kwd::SENSORY_COMPATIBLE_NUM_CHANNELS = 1
 The Sensory compatible number of channels, which is 1. More...
 
static const avsCommon::utils::AudioFormat::Encoding alexaClientSDK::kwd::SENSORY_COMPATIBLE_ENCODING
 The Sensory compatible audio encoding of LPCM. More...
 
static const avsCommon::utils::AudioFormat::Endianness alexaClientSDK::kwd::SENSORY_COMPATIBLE_ENDIANNESS
 The Sensory compatible endianness which is little endian. 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.25.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0