UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WasapiCaptureLog.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7#define WASAPI_CAPTURE_LOG_RESULT(FunctionName, Result) \
8 { \
9 FString ErrorString = FString::Printf(TEXT("%s -> 0x%X (line: %d)"), TEXT( FunctionName ), (uint32)Result, __LINE__); \
10 UE_LOG(LogAudioCaptureCore, Error, TEXT("WasapiCapture Error: %s"), *ErrorString); \
11 }