#include <AttachmentReaderSource.h>
◆ ~AttachmentReaderSource()
alexaClientSDK::mediaPlayer::AttachmentReaderSource::~AttachmentReaderSource |
( |
| ) |
|
◆ create()
Creates an instance of the AttachmentReaderSource
and installs the source within the GStreamer pipeline.
- Parameters
-
pipeline | The PipelineInterface through which the source of the AudioPipeline may be set. |
attachmentReader | The AttachmentReader from which to create the pipeline source from. |
audioFormat | The audioFormat to be used when playing raw PCM data. |
repeat | A parameter indicating whether to play from the source in a loop. |
- Returns
- An instance of the
AttachmentReaderSource
if successful else a nullptr
.
◆ isPlaybackRemote()
bool alexaClientSDK::mediaPlayer::AttachmentReaderSource::isPlaybackRemote |
( |
| ) |
const |
|
overridevirtual |
Indicates whether a source is local or remote from the perspective of the MediaPlayer (e.g. playing out of the SDS is local, playing a URL is remote).
- Returns
- A boolean indicating whether the source is from a remote or local source
Implements alexaClientSDK::mediaPlayer::SourceInterface.
The documentation for this class was generated from the following file:
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0