AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include "Diagnostics/DiagnosticsUtils.h"
#include <fstream>
#include <AVSCommon/Utils/Logger/Logger.h>
Namespaces | |
alexaClientSDK | |
Whether or not curl logs should be emitted. | |
alexaClientSDK::diagnostics | |
alexaClientSDK::diagnostics::utils | |
Macros | |
#define | LX(event) alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event) |
Functions | |
static const std::string | alexaClientSDK::diagnostics::utils::TAG ("DiagnosticsUtils") |
String to identify log entries originating from this file. More... | |
bool | alexaClientSDK::diagnostics::utils::validateAudioFormat (const avsCommon::utils::WavHeader &wavHeader) |
bool | alexaClientSDK::diagnostics::utils::readWavFileToBuffer (const std::string &absoluteFilePath, std::vector< uint16_t > *audioBuffer) |
Variables | |
static constexpr unsigned int | alexaClientSDK::diagnostics::utils::NUM_BITS_PER_SAMPLE = 16 |
Constant indicating the number of bits per sample. More... | |
static constexpr unsigned int | alexaClientSDK::diagnostics::utils::NUM_OF_AUDIO_CHANNELS = 1 |
Constant indicating the number of audio channels supported. More... | |
static constexpr unsigned int | alexaClientSDK::diagnostics::utils::SAMPLES_PER_SECOND = 16000 |
Constant indicating the Samples per second supported. More... | |
static constexpr unsigned int | alexaClientSDK::diagnostics::utils::LPCM_AUDIO_FORMAT = 1 |
Constant indicating the LPCM audio format in the WAV file header. More... | |
#define LX | ( | event | ) | alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event) |
Create a LogEntry using this file's TAG and the specified event string.
The | event 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