#include <SourceInterface.h>
Interface to request operations on an audio source.
◆ SourceInterface()
alexaClientSDK::mediaPlayer::SourceInterface::SourceInterface |
( |
const std::string & |
className | ) |
|
|
inline |
Constructor, which also constructs RequiresShutdown.
- Parameters
-
className | The name of the class to be passed to RequiresShutdown . |
◆ ~SourceInterface()
virtual alexaClientSDK::mediaPlayer::SourceInterface::~SourceInterface |
( |
| ) |
|
|
virtualdefault |
◆ addObserver()
virtual void alexaClientSDK::mediaPlayer::SourceInterface::addObserver |
( |
std::shared_ptr< SourceObserverInterface > |
observer | ) |
|
|
pure virtual |
◆ handleEndOfStream()
virtual bool alexaClientSDK::mediaPlayer::SourceInterface::handleEndOfStream |
( |
| ) |
|
|
pure virtual |
Internally, a source may need additional processing after EOS is reached. This function will process that data.
- Returns
- A boolean indicating whether the process operation was successful.
Implemented in alexaClientSDK::mediaPlayer::BaseStreamSource.
◆ hasAdditionalData()
virtual bool alexaClientSDK::mediaPlayer::SourceInterface::hasAdditionalData |
( |
| ) |
|
|
pure virtual |
◆ isPlaybackRemote()
virtual bool alexaClientSDK::mediaPlayer::SourceInterface::isPlaybackRemote |
( |
| ) |
const |
|
pure virtual |
◆ preprocess()
virtual void alexaClientSDK::mediaPlayer::SourceInterface::preprocess |
( |
| ) |
|
|
pure virtual |
◆ removeObserver()
virtual void alexaClientSDK::mediaPlayer::SourceInterface::removeObserver |
( |
std::shared_ptr< SourceObserverInterface > |
observer | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- /workplace/avs-device-sdk/MediaPlayer/GStreamerMediaPlayer/include/MediaPlayer/SourceInterface.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0