AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <array>
#include <gtest/gtest.h>
#include <AndroidUtilities/AndroidSLESEngine.h>
#include <AndroidUtilities/AndroidSLESMicrophone.h>
#include <AVSCommon/AVS/AudioInputStream.h>
Classes | |
class | alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESMicrophoneTest |
Namespaces | |
alexaClientSDK | |
Whether or not curl logs should be emitted. | |
alexaClientSDK::applicationUtilities | |
alexaClientSDK::applicationUtilities::androidUtilities | |
alexaClientSDK::applicationUtilities::androidUtilities::test | |
Functions | |
alexaClientSDK::applicationUtilities::androidUtilities::test::TEST_F (AndroidSLESMicrophoneTest, test_startRecording) | |
alexaClientSDK::applicationUtilities::androidUtilities::test::TEST_F (AndroidSLESMicrophoneTest, test_pauseRecording) | |
alexaClientSDK::applicationUtilities::androidUtilities::test::TEST_F (AndroidSLESMicrophoneTest, test_unPauseRecording) | |
alexaClientSDK::applicationUtilities::androidUtilities::test::TEST_F (AndroidSLESMicrophoneTest, test_longRecording) | |
Variables | |
static constexpr size_t | alexaClientSDK::applicationUtilities::androidUtilities::test::SAMPLE_RATE_HZ {16000} |
The sample rate of microphone audio data. More... | |
static constexpr std::chrono::seconds | alexaClientSDK::applicationUtilities::androidUtilities::test::AMOUNT_OF_AUDIO_DATA_IN_BUFFER {10} |
The amount of audio data to keep in the ring buffer. More... | |
static constexpr size_t | alexaClientSDK::applicationUtilities::androidUtilities::test::SDS_BUFFER_SIZE = (SAMPLE_RATE_HZ)*AMOUNT_OF_AUDIO_DATA_IN_BUFFER.count() |
The size of the ring buffer. More... | |
static constexpr std::chrono::milliseconds | alexaClientSDK::applicationUtilities::androidUtilities::test::TIMEOUT {1100} |
Reader timeout. More... | |
static constexpr size_t | alexaClientSDK::applicationUtilities::androidUtilities::test::TEST_BUFFER_SIZE {4096u} |
The size of reader buffer is one page long. More... | |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0