AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
ApplicationAudioPipelineFactoryInterface.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ACSDKAPPLICATIONAUDIOPIPELINEFACTORYINTERFACES_APPLICATIONAUDIOPIPELINEFACTORYINTERFACE_H_
17 #define ACSDKAPPLICATIONAUDIOPIPELINEFACTORYINTERFACES_APPLICATIONAUDIOPIPELINEFACTORYINTERFACE_H_
18 
19 #include <string>
20 
23 
25 
26 namespace alexaClientSDK {
27 namespace acsdkApplicationAudioPipelineFactoryInterfaces {
28 
34 public:
39 
53  virtual std::shared_ptr<avsCommon::sdkInterfaces::ApplicationMediaInterfaces> createApplicationMediaInterfaces(
54  const std::string& name,
55  bool equalizerAvailable = false,
56  bool enableLiveMode = false,
57  bool isCaptionable = false,
60  std::function<int8_t(int8_t)> volumeCurve = nullptr) = 0;
61 
76  virtual std::shared_ptr<PooledApplicationMediaInterfaces> createPooledApplicationMediaInterfaces(
77  const std::string& name,
78  int numMediaPlayers,
79  bool equalizerAvailable = false,
80  bool enableLiveMode = false,
81  bool isCaptionable = false,
84  std::function<int8_t(int8_t)> volumeCurve = nullptr) = 0;
85 };
86 
87 } // namespace acsdkApplicationAudioPipelineFactoryInterfaces
88 } // namespace alexaClientSDK
89 
90 #endif // ACSDKAPPLICATIONAUDIOPIPELINEFACTORYINTERFACES_APPLICATIONAUDIOPIPELINEFACTORYINTERFACE_H_
virtual std::shared_ptr< avsCommon::sdkInterfaces::ApplicationMediaInterfaces > createApplicationMediaInterfaces(const std::string &name, bool equalizerAvailable=false, bool enableLiveMode=false, bool isCaptionable=false, avsCommon::sdkInterfaces::ChannelVolumeInterface::Type channelVolumeType=avsCommon::sdkInterfaces::ChannelVolumeInterface::Type::AVS_SPEAKER_VOLUME, std::function< int8_t(int8_t)> volumeCurve=nullptr)=0
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual std::shared_ptr< PooledApplicationMediaInterfaces > createPooledApplicationMediaInterfaces(const std::string &name, int numMediaPlayers, bool equalizerAvailable=false, bool enableLiveMode=false, bool isCaptionable=false, avsCommon::sdkInterfaces::ChannelVolumeInterface::Type channelVolumeType=avsCommon::sdkInterfaces::ChannelVolumeInterface::Type::AVS_SPEAKER_VOLUME, std::function< int8_t(int8_t)> volumeCurve=nullptr)=0

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