AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Functions | Variables
FFmpegStreamInputControllerTest.cpp File Reference
#include <array>
#include <sstream>
#include <gtest/gtest.h>
#include <libavformat/avformat.h>
#include <libavformat/avio.h>
#include <libavutil/common.h>
#include <libavutil/error.h>
#include <Audio/Data/med_alerts_notification_01.mp3.h>
#include "AndroidSLESMediaPlayer/FFmpegStreamInputController.h"
Include dependency graph for FFmpegStreamInputControllerTest.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::mediaPlayer
 
 alexaClientSDK::mediaPlayer::android
 
 alexaClientSDK::mediaPlayer::android::test
 

Functions

std::shared_ptr< std::stringstream > alexaClientSDK::mediaPlayer::android::test::createStream ()
 
 alexaClientSDK::mediaPlayer::android::test::TEST (FFmpegStreamInputControllerTest, test_createSucceed)
 Test decoder input create succeed. More...
 
 alexaClientSDK::mediaPlayer::android::test::TEST (FFmpegStreamInputControllerTest, test_createFailed)
 Test decoder input create with null input failed. More...
 
 alexaClientSDK::mediaPlayer::android::test::TEST (FFmpegStreamInputControllerTest, test_readSucceed)
 Test read from stream. More...
 
 alexaClientSDK::mediaPlayer::android::test::TEST (FFmpegStreamInputControllerTest, test_readEof)
 Test read from stream until the end. More...
 
 alexaClientSDK::mediaPlayer::android::test::TEST (FFmpegStreamInputControllerTest, test_readRepeat)
 Test read with repeat on from a stream. More...
 

Variables

static constexpr size_t alexaClientSDK::mediaPlayer::android::test::BUFFER_SIZE = 1024
 The size of the buffers used to read input. More...
 
static constexpr size_t alexaClientSDK::mediaPlayer::android::test::INPUT_SIZE = applicationUtilities::resources::audio::data::med_alerts_notification_01_mp3_len
 The size of the input buffer. More...
 
static const auto alexaClientSDK::mediaPlayer::android::test::INPUT_CSTR = applicationUtilities::resources::audio::data::med_alerts_notification_01_mp3
 An input buffer with an mp3 file. 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