![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <IStreamSource.h>


Public Member Functions | |
| ~IStreamSource () override | |
Public Member Functions inherited from alexaClientSDK::mediaPlayer::BaseStreamSource | |
| BaseStreamSource (PipelineInterface *pipeline, const std::string &className) | |
| ~BaseStreamSource () override | |
| bool | handleEndOfStream () override |
| void | preprocess () override |
| void | addObserver (std::shared_ptr< SourceObserverInterface > observer) override |
| void | removeObserver (std::shared_ptr< SourceObserverInterface > observer) override |
Public Member Functions inherited from alexaClientSDK::mediaPlayer::SourceInterface | |
| SourceInterface (const std::string &className) | |
| virtual | ~SourceInterface ()=default |
Public Member Functions inherited from alexaClientSDK::avsCommon::utils::RequiresShutdown | |
| RequiresShutdown (const std::string &name) | |
| virtual | ~RequiresShutdown () |
| Destructor. More... | |
| const std::string & | name () const |
| void | shutdown () |
| bool | isShutdown () const |
Static Public Member Functions | |
| static std::unique_ptr< IStreamSource > | create (PipelineInterface *pipeline, std::shared_ptr< std::istream > stream, bool repeat) |
Additional Inherited Members | |
Protected Member Functions inherited from alexaClientSDK::mediaPlayer::BaseStreamSource | |
| bool | init (const avsCommon::utils::AudioFormat *audioFormat=nullptr) |
| GstAppSrc * | getAppSrc () const |
| void | signalEndOfData () |
| void | installOnReadDataHandler () |
| void | updateOnReadDataHandler () |
| void | uninstallOnReadDataHandler () |
| void | clearOnReadDataHandler () |
| void | notifyObserversOnReadData () |
|
override |
Destructor.
|
static |
Create an IStream source.
| pipeline | The PipelineInterface through which the source of the AudioPipeline may be set. |
| stream | The std::istream from which to create the pipeline source. |
| repeat | Whether the stream should be replayed until stopped. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0