Files
steve robb 92463911c8 Fixed mismatched printf format arguments.
#rb brandon.schaefer

[CL 33264801 by steve robb in ue5-main branch]
2024-04-26 11:02:47 -04:00

12 lines
380 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "AudioCaptureCoreLog.h"
#define WASAPI_CAPTURE_LOG_RESULT(FunctionName, Result) \
{ \
FString ErrorString = FString::Printf(TEXT("%s -> 0x%X (line: %d)"), TEXT( FunctionName ), (uint32)Result, __LINE__); \
UE_LOG(LogAudioCaptureCore, Error, TEXT("WasapiCapture Error: %s"), *ErrorString); \
}