#include <SourceConfig.h>
◆ createWithFadeIn()
SourceConfig alexaClientSDK::avsCommon::utils::mediaPlayer::SourceConfig::createWithFadeIn |
( |
short |
startGain, |
|
|
short |
endGain, |
|
|
const std::chrono::milliseconds & |
duration |
|
) |
| |
|
inlinestatic |
Builds a Source Config object with fade in enabled.
- Parameters
-
startGain | The starting percentage volume when the media starts playing (range 0-100). |
endGain | The ending percentage volume when the media played to the fade-in duration (range 0-100). |
duration | The fade-in duration time. |
Builds a Source Config object with fade in enabled and with the provided valid values.
- Parameters
-
startGain | The starting percentage volume when the media starts playing (range 0-100) Will become valid. |
endGain | The ending percentage volume when the media played to the fade-in duration (range 0-100). Will become valid. |
duration | The fade-in duration time. |
- Returns
- a Source Config object with fade in set for the given valid values
◆ audioNormalizationConfig
Audio normalization configuration.
◆ endOffset
std::chrono::milliseconds alexaClientSDK::avsCommon::utils::mediaPlayer::SourceConfig::endOffset |
End offset for where playback should be stopped.
◆ fadeInConfig
FadeInConfig alexaClientSDK::avsCommon::utils::mediaPlayer::SourceConfig::fadeInConfig |
◆ mediaDescription
MediaDescription alexaClientSDK::avsCommon::utils::mediaPlayer::SourceConfig::mediaDescription |
Media description information.
The documentation for this struct was generated from the following file:
- /workplace/avs-device-sdk/AVSCommon/Utils/include/AVSCommon/Utils/MediaPlayer/SourceConfig.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0