UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AudioMixerPlatformAndroid.cpp File Reference
#include "AudioMixerPlatformAndroid.h"
#include "Modules/ModuleManager.h"
#include "AudioMixer.h"
#include "CoreGlobals.h"
#include "Misc/ConfigCacheIni.h"
#include "Misc/ScopeLock.h"
#include "AudioDevice.h"
#include <SLES/OpenSLES.h>
#include "SLES/OpenSLES_Android.h"

Namespaces

namespace  Audio
 NO_LOGGING.
 

Macros

#define UNREAL_AUDIO_TEST_WHITE_NOISE   0
 
#define OPENSLES_RETURN_ON_FAIL(Result)
 
#define OPENSLES_CHECK_ON_FAIL(Result)
 
#define OPENSLES_LOG_ON_FAIL(Result)
 

Functions

 DECLARE_LOG_CATEGORY_EXTERN (LogAudioMixerAndroid, Log, All)
 
 DEFINE_LOG_CATEGORY (LogAudioMixerAndroid)
 

Macro Definition Documentation

◆ OPENSLES_CHECK_ON_FAIL

#define OPENSLES_CHECK_ON_FAIL (   Result)
Value:
if (Result != SL_RESULT_SUCCESS) \
{ \
const TCHAR* ErrorString = GetErrorString(Result); \
AUDIO_PLATFORM_ERROR(ErrorString); \
check(false); \
}
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127

◆ OPENSLES_LOG_ON_FAIL

#define OPENSLES_LOG_ON_FAIL (   Result)
Value:
if (Result != SL_RESULT_SUCCESS) \
{ \
const TCHAR* ErrorString = GetErrorString(Result); \
AUDIO_PLATFORM_ERROR(ErrorString); \
}

◆ OPENSLES_RETURN_ON_FAIL

#define OPENSLES_RETURN_ON_FAIL (   Result)
Value:
if (Result != SL_RESULT_SUCCESS) \
{ \
const TCHAR* ErrorString = GetErrorString(Result); \
AUDIO_PLATFORM_ERROR(ErrorString); \
return false; \
}

◆ UNREAL_AUDIO_TEST_WHITE_NOISE

#define UNREAL_AUDIO_TEST_WHITE_NOISE   0

Function Documentation

◆ DECLARE_LOG_CATEGORY_EXTERN()

DECLARE_LOG_CATEGORY_EXTERN ( LogAudioMixerAndroid  ,
Log  ,
All   
)

◆ DEFINE_LOG_CATEGORY()

DEFINE_LOG_CATEGORY ( LogAudioMixerAndroid  )