16 #ifndef ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_STUBAPPLICATIONAUDIOPIPELINEFACTORY_H_ 17 #define ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_STUBAPPLICATIONAUDIOPIPELINEFACTORY_H_ 32 namespace defaultClient {
56 static std::shared_ptr<StubApplicationAudioPipelineFactory>
create(
57 const std::shared_ptr<avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface>& channelVolumeFactory);
64 void addSpeakerManager(std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerInterface>& speakerManager);
71 void addCaptionManager(std::shared_ptr<captions::CaptionManagerInterface>& captionManager);
84 const std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface>& mediaPlayer,
85 const std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface>& speaker);
97 std::vector<std::pair<
98 std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface>,
99 std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface>>> mediaInterfaces);
105 bool equalizerAvailable,
109 std::function<int8_t(int8_t)> volumeCurve)
override;
110 std::shared_ptr<acsdkApplicationAudioPipelineFactoryInterfaces::PooledApplicationMediaInterfaces>
114 bool equalizerAvailable,
118 std::function<int8_t(int8_t)> volumeCurve)
override;
126 const std::shared_ptr<avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface>& channelVolumeFactory);
129 std::mutex m_applicationMediaInterfacesMapMutex;
135 std::unordered_map<std::string, std::vector<std::shared_ptr<avsCommon::sdkInterfaces::ApplicationMediaInterfaces>>>
136 m_applicationMediaInterfacesMap;
139 std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerInterface> m_speakerManager;
142 std::shared_ptr<captions::CaptionManagerInterface> m_captionManager;
145 std::shared_ptr<avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface> m_channelVolumeFactory;
151 #endif // ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_STUBAPPLICATIONAUDIOPIPELINEFACTORY_H_ void addSpeakerManager(std::shared_ptr< avsCommon::sdkInterfaces::SpeakerManagerInterface > &speakerManager)
void addCaptionManager(std::shared_ptr< captions::CaptionManagerInterface > &captionManager)
::std::string string
Definition: gtest-port.h:1097
Type
Definition: ChannelVolumeInterface.h:37
std::shared_ptr< acsdkApplicationAudioPipelineFactoryInterfaces::PooledApplicationMediaInterfaces > createPooledApplicationMediaInterfaces(const std::string &name, int numMediaPlayers, bool equalizerAvailable, bool enableLiveMode, bool isCaptionable, avsCommon::sdkInterfaces::ChannelVolumeInterface::Type channelVolumeType, std::function< int8_t(int8_t)> volumeCurve) override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: ApplicationAudioPipelineFactoryInterface.h:33
Definition: StubApplicationAudioPipelineFactory.h:47
static std::shared_ptr< StubApplicationAudioPipelineFactory > create(const std::shared_ptr< avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface > &channelVolumeFactory)
std::shared_ptr< avsCommon::sdkInterfaces::ApplicationMediaInterfaces > createApplicationMediaInterfaces(const std::string &name, bool equalizerAvailable, bool enableLiveMode, bool isCaptionable, avsCommon::sdkInterfaces::ChannelVolumeInterface::Type channelVolumeType, std::function< int8_t(int8_t)> volumeCurve) override
bool addApplicationMediaInterfaces(const std::string &name, const std::shared_ptr< avsCommon::utils::mediaPlayer::MediaPlayerInterface > &mediaPlayer, const std::shared_ptr< avsCommon::sdkInterfaces::SpeakerInterface > &speaker)