This class tests the entire AndroidSLESMicrophone
together with the OpenSL ES NDK implementation.
◆ SetUp()
virtual void alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESMicrophoneTest::SetUp |
( |
| ) |
|
|
inlineprotectedvirtual |
Create android microphone.
◆ TearDown()
virtual void alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESMicrophoneTest::TearDown |
( |
| ) |
|
|
inlineprotectedvirtual |
Reset all shared pointers.
◆ m_mic
std::unique_ptr<AndroidSLESMicrophone> alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESMicrophoneTest::m_mic |
|
protected |
◆ m_reader
std::shared_ptr<avsCommon::avs::AudioInputStream::Reader> alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESMicrophoneTest::m_reader |
|
protected |
Pointer to an audio input stream reader used to check writting results.
◆ m_stream
Pointer to the audio input stream.
◆ m_testBuffer
std::array<uint16_t, TEST_BUFFER_SIZE> alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESMicrophoneTest::m_testBuffer |
|
protected |
Test buffer that will be used by the reader.
The documentation for this class was generated from the following file:
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0