AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Typedefs | Functions | Variables
AudioPlayerComponent.cpp File Reference
#include <acsdkManufactory/ComponentAccumulator.h>
#include <AVSCommon/Utils/MediaPlayer/PooledMediaResourceProvider.h>
#include "acsdkAudioPlayer/AudioPlayer.h"
#include "acsdkAudioPlayer/AudioPlayerComponent.h"
Include dependency graph for AudioPlayerComponent.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acsdkAudioPlayer
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Typedefs

using alexaClientSDK::acsdkAudioPlayer::DefaultEndpointAnnotation = avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation
 

Functions

static const std::string alexaClientSDK::acsdkAudioPlayer::TAG ("AudioPlayerComponent")
 String to identify log entries originating from this file. More...
 
static const std::string alexaClientSDK::acsdkAudioPlayer::AUDIOPLAYER_CONFIG_KEY ("audioPlayer")
 Key for the Audio MediaPlayer pool size. More...
 
static const std::string alexaClientSDK::acsdkAudioPlayer::AUDIO_MEDIAPLAYER_POOL_SIZE_KEY ("audioMediaPlayerPoolSize")
 Key for the Audio MediaPlayer pool size. More...
 
static const std::string alexaClientSDK::acsdkAudioPlayer::AUDIO_MEDIA_PLAYER_NAME ("AudioMediaPlayer")
 Name for the audio media players, used for logging purposes. More...
 
std::function< std::shared_ptr< avsCommon::utils::mediaPlayer::PooledMediaResourceProviderInterface > const std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode > &, const std::shared_ptr< acsdkApplicationAudioPipelineFactoryInterfaces::ApplicationAudioPipelineFactoryInterface > &)> alexaClientSDK::acsdkAudioPlayer::getCreatePooledMediaResourceProviderInterface (const std::string &parentConfigKey)
 
acsdkManufactory::Component< std::shared_ptr< acsdkAudioPlayerInterfaces::AudioPlayerInterface >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::RenderPlayerInfoCardsProviderRegistrarInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode > >, acsdkManufactory::Import< std::shared_ptr< acsdkApplicationAudioPipelineFactoryInterfaces::ApplicationAudioPipelineFactoryInterface > >, acsdkManufactory::Import< acsdkManufactory::Annotated< avsCommon::sdkInterfaces::AudioFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::PlaybackRouterInterface > >, acsdkManufactory::Import< std::shared_ptr< captions::CaptionManagerInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > >, acsdkManufactory::Import< std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownNotifierInterface > >, acsdkManufactory::Import< acsdkManufactory::Annotated< avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation, avsCommon::sdkInterfaces::endpoints::EndpointCapabilitiesRegistrarInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > > > alexaClientSDK::acsdkAudioPlayer::getComponent (const std::string &configParentKey="")
 
acsdkManufactory::Component< std::shared_ptr< acsdkAudioPlayerInterfaces::AudioPlayerInterface >, acsdkManufactory::Import< std::shared_ptr< avsCommon::utils::mediaPlayer::PooledMediaResourceProviderInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::RenderPlayerInfoCardsProviderRegistrarInterface > >, acsdkManufactory::Import< acsdkManufactory::Annotated< avsCommon::sdkInterfaces::AudioFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::PlaybackRouterInterface > >, acsdkManufactory::Import< std::shared_ptr< captions::CaptionManagerInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface > >, acsdkManufactory::Import< std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownNotifierInterface > >, acsdkManufactory::Import< acsdkManufactory::Annotated< avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation, avsCommon::sdkInterfaces::endpoints::EndpointCapabilitiesRegistrarInterface > >, acsdkManufactory::Import< std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > > > alexaClientSDK::acsdkAudioPlayer::getBackwardsCompatibleComponent ()
 

Variables

static const unsigned int alexaClientSDK::acsdkAudioPlayer::AUDIO_MEDIAPLAYER_POOL_SIZE_DEFAULT = 2
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0