AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
FFmpegAttachmentInputController.cpp File Reference
#include <string>
#include <libavformat/avformat.h>
#include <libavformat/avio.h>
#include <libavutil/common.h>
#include <libavutil/dict.h>
#include <libavutil/error.h>
#include <AVSCommon/AVS/Attachment/AttachmentReader.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include "AndroidSLESMediaPlayer/FFmpegAttachmentInputController.h"
#include "AndroidSLESMediaPlayer/FFmpegDeleter.h"
Include dependency graph for FFmpegAttachmentInputController.cpp:

Namespaces

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

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string TAG ("FFmpegAttachmentInputController")
 String to identify log entries originating from this file. More...
 

Variables

static const std::chrono::milliseconds alexaClientSDK::mediaPlayer::android::READ_TIMEOUT {10}
 Timeout for read operations. More...
 
static constexpr int alexaClientSDK::mediaPlayer::android::BUFFER_SIZE {4096}
 Buffers will be the size of a regular page. More...
 
static constexpr unsigned int alexaClientSDK::mediaPlayer::android::BYTE_TO_BITS {8u}
 The size of a byte in bits. More...
 
static const int alexaClientSDK::mediaPlayer::android::EMPTY_FLAGS = 0
 Use no special flags during av_dict_copy. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

Function Documentation

◆ TAG()

static const std::string TAG ( "FFmpegAttachmentInputController"  )
static

String to identify log entries originating from this file.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0