16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_CHANNELVOLUMEINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_CHANNELVOLUMEINTERFACE_H_ 25 namespace sdkInterfaces {
91 virtual bool setMute(
bool mute) = 0;
118 return std::size_t(
this);
137 stream <<
"AVS_SPEAKER_VOLUME";
140 stream <<
"AVS_ALERTS_VOLUME";
143 stream <<
"UNKNOWN_CHANNEL_VOLUME_TYPE";
160 int volume =
static_cast<int>(settings.
volume) + static_cast<int>(delta);
173 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_SDKINTERFACES_INCLUDE_AVSCOMMON_SDKINTERFACES_CHANNELVOLUMEINTERFACE_H_ virtual std::size_t getId() const
Definition: ChannelVolumeInterface.h:117
const int8_t AVS_SET_VOLUME_MAX
AVS setVolume Maximum.
Definition: SpeakerConstants.h:33
std::ostream & operator<<(std::ostream &stream, const AudioInputProcessorObserverInterface::State &state)
Definition: AudioInputProcessorObserverInterface.h:94
const int8_t AVS_ADJUST_VOLUME_MAX
AVS adjustVolume Maximum.
Definition: SpeakerConstants.h:39
virtual bool getSpeakerSettings(avsCommon::sdkInterfaces::SpeakerInterface::SpeakerSettings *settings) const =0
Volume type reflecting AVS Speaker API volume.
Volume type reflecting AVS Alerts API volume.
const int8_t AVS_ADJUST_VOLUME_MIN
AVS adjustVolume Minimum.
Definition: SpeakerConstants.h:36
Type
Definition: ChannelVolumeInterface.h:37
virtual Type getSpeakerType() const =0
Definition: ChannelVolumeInterface.h:32
const int8_t AVS_SET_VOLUME_MIN
AVS setVolume Minimum.
Definition: SpeakerConstants.h:30
virtual bool setUnduckedVolume(int8_t volume)=0
Definition: SpeakerInterface.h:42
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual bool stopDucking()=0
int8_t volume
Must be within [AVS_SET_VOLUME_MIN, AVS_SET_VOLUME_MAX].
Definition: SpeakerInterface.h:44
type
Definition: upload.py:443
virtual bool startDucking()=0
virtual ~ChannelVolumeInterface()=default
virtual bool adjustUnduckedVolume(int8_t delta)
Definition: ChannelVolumeInterface.h:147
virtual bool setMute(bool mute)=0