![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <ChannelVolumeFactoryInterface.h>
Public Member Functions | |
virtual std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeInterface > | createChannelVolumeInterface (std::shared_ptr< alexaClientSDK::avsCommon::sdkInterfaces::SpeakerInterface > speaker, alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeInterface::Type type=alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeInterface::Type::AVS_SPEAKER_VOLUME, std::function< int8_t(int8_t)> volumeCurve=nullptr)=0 |
virtual | ~ChannelVolumeFactoryInterface ()=default |
The ChannelVolumeFactoryInterface
provide a factory interface that returns a ChannelVolumeInterface
implementation for an input SpeakerInterface
.
|
virtualdefault |
Destructor
|
pure virtual |
Creates a ChannelVolumeInterface
for the input SpeakerInterface
.
speaker | input SpeakerInterface to be encapsulated. |
type | optional The ChannelVolumeInterface Type to be associated with. |
volumeCurve | optional volume curve to be used for channel volume attenuation. |
ChannelVolumeInterface
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0