![]() |
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Namespaces | |
test | |
Classes | |
class | EncoderContext |
class | OpusEncoderContext |
class | SpeechEncoder |
Functions | |
static const std::string | TAG ("OpusEncoderContext") |
String to identify log entries originating from this file. More... | |
uint16_t | Reverse16 (uint16_t value) |
static const std::string | TAG ("SpeechEncoder") |
String to identify log entries originating from this file. More... | |
Variables | |
static constexpr char | AVS_FORMAT [] = "OPUS" |
AVS OPUS format name. More... | |
static constexpr unsigned int | SAMPLE_RATE = 16000 |
Audio sample rate: 16kHz. More... | |
static constexpr unsigned int | BIT_RATE = 32000 |
OPUS bitrate: 32kbps CBR. More... | |
static constexpr unsigned int | FRAME_LENGTH = 20 |
OPUS frame length: 20ms. More... | |
static constexpr unsigned int | FRAME_SIZE = (SAMPLE_RATE / 1000) * FRAME_LENGTH |
PCM frame size. More... | |
static constexpr unsigned int | PACKET_SIZE = ((BIT_RATE / CHAR_BIT) / 1000) * FRAME_LENGTH |
OPUS packet size (CBR) More... | |
static constexpr unsigned int | MAX_PACKET_SIZE = PACKET_SIZE * 2 |
Maximum packet size. More... | |
static constexpr unsigned int | MAX_READERS = 10 |
The maximum number of readers of the output stream. More... | |
static constexpr unsigned int | READ_TIMEOUT_MS = 10 |
Reading timeout from input audio stream. More... | |
static const auto | WRITE_TIMEOUT_MS = std::chrono::milliseconds(100) |
Timeout between write retrying. More... | |
static constexpr unsigned int | MAX_OUTPUT_PACKETS = 20 |
The maximum number of packets to be buffered to the output stream. More... | |
|
inline |
|
static |
String to identify log entries originating from this file.
|
static |
String to identify log entries originating from this file.
|
staticconstexpr |
AVS OPUS format name.
|
staticconstexpr |
OPUS bitrate: 32kbps CBR.
|
staticconstexpr |
OPUS frame length: 20ms.
|
staticconstexpr |
PCM frame size.
|
staticconstexpr |
The maximum number of packets to be buffered to the output stream.
|
staticconstexpr |
Maximum packet size.
|
staticconstexpr |
The maximum number of readers of the output stream.
|
staticconstexpr |
OPUS packet size (CBR)
|
staticconstexpr |
Reading timeout from input audio stream.
|
staticconstexpr |
Audio sample rate: 16kHz.
|
static |
Timeout between write retrying.
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0