|
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_TESTSPEECHSYNTHESIZEROBSERVER_H_
17 #define ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_TESTSPEECHSYNTHESIZEROBSERVER_H_
20 #include <condition_variable>
27 namespace integration {
43 const std::vector<avsCommon::utils::audioAnalyzer::AudioAnalyzerState>& audioAnalyzerState)
override;
47 const std::chrono::seconds duration);
50 const std::chrono::seconds duration);
57 std::condition_variable m_wakeTrigger;
58 std::deque<avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface::SpeechSynthesizerState> m_queue;
65 #endif // ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_TESTSPEECHSYNTHESIZEROBSERVER_H_
avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface::SpeechSynthesizerState waitForNext(const std::chrono::seconds duration)
Definition: TestSpeechSynthesizerObserver.cpp:47
void onStateChanged(avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface::SpeechSynthesizerState state, const avsCommon::utils::mediaPlayer::MediaPlayerInterface::SourceId mediaSourceId, const avsCommon::utils::Optional< avsCommon::utils::mediaPlayer::MediaPlayerState > &mediaPlayerState, const std::vector< avsCommon::utils::audioAnalyzer::AudioAnalyzerState > &audioAnalyzerState) override
Definition: TestSpeechSynthesizerObserver.cpp:28
bool checkState(const avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface::SpeechSynthesizerState expectedState, const std::chrono::seconds duration)
Definition: TestSpeechSynthesizerObserver.cpp:39
Definition: AmdMetricWrapperTest.cpp:24
SpeechSynthesizerState
Definition: SpeechSynthesizerObserverInterface.h:37
Definition: SpeechSynthesizerObserverInterface.h:32
TestSpeechSynthesizerObserver()
Definition: TestSpeechSynthesizerObserver.cpp:24
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
~TestSpeechSynthesizerObserver()=default
Definition: Optional.h:32
avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface::SpeechSynthesizerState getCurrentState()
Definition: TestSpeechSynthesizerObserver.cpp:60
Definition: TestSpeechSynthesizerObserver.h:33
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0