AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
PortAudioMicrophoneWrapper.cpp File Reference
#include <cstring>
#include <string>
#include <rapidjson/document.h>
#include <AVSCommon/Utils/Configuration/ConfigurationNode.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include "SampleApp/PortAudioMicrophoneWrapper.h"
#include "SampleApp/ConsolePrinter.h"
Include dependency graph for PortAudioMicrophoneWrapper.cpp:

Namespaces

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

Macros

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

Functions

static const std::string alexaClientSDK::sampleApp::SAMPLE_APP_CONFIG_ROOT_KEY ("sampleApp")
 
static const std::string alexaClientSDK::sampleApp::PORTAUDIO_CONFIG_ROOT_KEY ("portAudio")
 
static const std::string alexaClientSDK::sampleApp::PORTAUDIO_CONFIG_SUGGESTED_LATENCY_KEY ("suggestedLatency")
 
static const std::string alexaClientSDK::sampleApp::TAG ("PortAudioMicrophoneWrapper")
 String to identify log entries originating from this file. More...
 

Variables

static const int alexaClientSDK::sampleApp::NUM_INPUT_CHANNELS = 1
 
static const int alexaClientSDK::sampleApp::NUM_OUTPUT_CHANNELS = 0
 
static const double alexaClientSDK::sampleApp::SAMPLE_RATE = 16000
 
static const unsigned long alexaClientSDK::sampleApp::PREFERRED_SAMPLES_PER_CALLBACK = paFramesPerBufferUnspecified
 

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.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0