UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AudioDebuggingUtilities.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "HAL/Platform.h"
6
7#define USE_AUDIO_DEBUGGING UE_BUILD_DEBUG
8
11
12#if USE_AUDIO_DEBUGGING
13#define BREAK_WHEN_AUDIBLE(Ptr, Num) BreakWhenAudible(Ptr, Num);
14#define BREAK_WHEN_TOO_LOUD(Ptr, Num) BreakWhenTooLoud(Ptr, Num);
15#else
16#define BREAK_WHEN_AUDIBLE(Ptr, Num)
17#define BREAK_WHEN_TOO_LOUD(Ptr, Num)
18#endif
SIGNALPROCESSING_API void BreakWhenTooLoud(float *InBuffer, int32 NumSamples)
Definition AudioDebuggingUtilities.cpp:22
SIGNALPROCESSING_API void BreakWhenAudible(float *InBuffer, int32 NumSamples)
Definition AudioDebuggingUtilities.cpp:9
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127