AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Namespaces | |
test | |
Classes | |
struct | AudioEncoderParams |
Audio encoder parameters. More... | |
Functions | |
std::unique_ptr< audioEncoderInterfaces::AudioEncoderInterface > | createAudioEncoder (const std::shared_ptr< audioEncoderInterfaces::BlockAudioEncoderInterface > &blockAudioEncoder) |
Create audio encoder with default parameters. More... | |
std::unique_ptr< audioEncoderInterfaces::AudioEncoderInterface > | createAudioEncoderWithParams (const std::shared_ptr< audioEncoderInterfaces::BlockAudioEncoderInterface > &blockAudioEncoder, const AudioEncoderParams ¶ms) |
Create audio encoder with given parameters. More... | |
std::unique_ptr<audioEncoderInterfaces::AudioEncoderInterface> alexaClientSDK::audioEncoder::createAudioEncoder | ( | const std::shared_ptr< audioEncoderInterfaces::BlockAudioEncoderInterface > & | blockAudioEncoder | ) |
Create audio encoder with default parameters.
Method creates a new instance of audio encoder with default parameters.
By default, audio encoder uses 10 milliseconds for read timeout, 100 milliseconds for write timeout, and 1000 milliseconds for stop timeout. The output stream will buffer up to 20 packets in the output stream and will allow up to 10 readers.
[in] | blockAudioEncoder | The backend encoder implementation. This parameter must not be nullptr. |
std::unique_ptr<audioEncoderInterfaces::AudioEncoderInterface> alexaClientSDK::audioEncoder::createAudioEncoderWithParams | ( | const std::shared_ptr< audioEncoderInterfaces::BlockAudioEncoderInterface > & | blockAudioEncoder, |
const AudioEncoderParams & | params | ||
) |
Create audio encoder with given parameters.
[in] | blockAudioEncoder | The backend encoder implementation. This parameter must not be nullptr. |
[in] | params | Encoder parameters. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0