UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WindowsMMStringUtils.cpp File Reference
#include "WindowsMMStringUtils.h"
#include "Containers/UnrealString.h"
#include "Misc/AssertionMacros.h"
#include "Windows/AllowWindowsPlatformTypes.h"
#include <winerror.h>
#include <audiopolicy.h>
#include "Windows/HideWindowsPlatformTypes.h"

Namespaces

namespace  Audio
 NO_LOGGING.
 

Macros

#define CASE_TO_STRING(X)   case AudioSessionDisconnectReason::X: return TEXT(#X)
 
#define CASE_TO_STRING(X)   case ERole::X: return TEXT(#X)
 
#define CASE_TO_STRING(X)   case EDataFlow::X: return TEXT(#X)
 
#define CASE_TO_STRING(X)   case EAudioDeviceRole::X: return TEXT(#X)
 
#define CASE_TO_STRING(X)   case EAudioDeviceState::X: return TEXT(#X)
 
#define CASE_AND_STRING(RESULT)   case HRESULT(RESULT): return TEXT(#RESULT)
 

Functions

const TCHARAudio::ToString (AudioSessionDisconnectReason InDisconnectReason)
 
const TCHARAudio::ToString (ERole InRole)
 
const TCHARAudio::ToString (EDataFlow InFlow)
 
FString Audio::ToFString (const PROPERTYKEY InKey)
 
const TCHARAudio::ToString (EAudioDeviceRole InRole)
 
const TCHARAudio::ToString (EAudioDeviceState InState)
 
FString Audio::ToFString (const TArray< EAudioMixerChannel::Type > &InChannels)
 
FString Audio::AudioClientErrorToFString (HRESULT InResult)
 

Macro Definition Documentation

◆ CASE_AND_STRING

#define CASE_AND_STRING (   RESULT)    case HRESULT(RESULT): return TEXT(#RESULT)

◆ CASE_TO_STRING [1/5]

#define CASE_TO_STRING (   X)    case AudioSessionDisconnectReason::X: return TEXT(#X)

◆ CASE_TO_STRING [2/5]

#define CASE_TO_STRING (   X)    case ERole::X: return TEXT(#X)

◆ CASE_TO_STRING [3/5]

#define CASE_TO_STRING (   X)    case EDataFlow::X: return TEXT(#X)

◆ CASE_TO_STRING [4/5]

#define CASE_TO_STRING (   X)    case EAudioDeviceRole::X: return TEXT(#X)

◆ CASE_TO_STRING [5/5]

#define CASE_TO_STRING (   X)    case EAudioDeviceState::X: return TEXT(#X)