![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
| class | AudioInputStreamFactory |
| class | CompatibleAudioFormat |
Typedefs | |
| using | AudioInputStreamComponent = acsdkManufactory::Component< std::shared_ptr< avsCommon::avs::AudioInputStream >, std::shared_ptr< avsCommon::utils::AudioFormat > > |
Functions | |
| AudioInputStreamComponent | getComponent (const size_t wordSize=WORD_SIZE, const size_t maxReaders=MAX_READERS, const std::chrono::seconds amountOfAudioDataInBuffer=AMOUNT_OF_AUDIO_DATA_IN_BUFFER) |
Variables | |
| static const size_t | WORD_SIZE = 2 |
Default params for AudioInputStreamComponent. More... | |
| static const size_t | MAX_READERS = 10 |
| static const std::chrono::seconds | AMOUNT_OF_AUDIO_DATA_IN_BUFFER = std::chrono::seconds(15) |
| using alexaClientSDK::acsdkAudioInputStream::AudioInputStreamComponent = typedef acsdkManufactory:: Component<std::shared_ptr<avsCommon::avs::AudioInputStream>, std::shared_ptr<avsCommon::utils::AudioFormat> > |
Definition of a Manufactory Component for the default AudioInputStream.
| AudioInputStreamComponent alexaClientSDK::acsdkAudioInputStream::getComponent | ( | const size_t | wordSize = WORD_SIZE, |
| const size_t | maxReaders = MAX_READERS, |
||
| const std::chrono::seconds | amountOfAudioDataInBuffer = AMOUNT_OF_AUDIO_DATA_IN_BUFFER |
||
| ) |
Creates an manufactory component that exports AudioInputStream.
| wordSize | The size of each word within the stream. |
| maxReaders | The maximum number of readers of the stream. |
| amountOfAudioDataInBuffer | The amount of audio data to keep in the ring buffer. |
|
static |
|
static |
|
static |
Default params for AudioInputStreamComponent.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0