Navigation
API > API/Plugins > API/Plugins/HarmonixDsp
| Name | FHarmonixMeterData |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixDsp/Public/HarmonixDsp/HarmonixMeterData.h |
| Include Path | #include "HarmonixDsp/HarmonixMeterData.h" |
Syntax
class FHarmonixMeterData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHarmonixMeterData
(
double InMin |
HarmonixDsp/HarmonixMeterData.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| sAudioMeterLock | FCriticalSection | HarmonixDsp/HarmonixMeterData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShouldClearDataBeforeNextMerge | bool | HarmonixDsp/HarmonixMeterData.h | ||
| CurrentData | double | HarmonixDsp/HarmonixMeterData.h | ||
| MinimumData | double | HarmonixDsp/HarmonixMeterData.h | ||
| PeakData | double | HarmonixDsp/HarmonixMeterData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearPeak() |
Clears the peak data. On the next call to get latest, peak will match current | HarmonixDsp/HarmonixMeterData.h | |
void GetLatest
(
double& OutCurrent, |
Get the metering data on the main thread. returns the current value, and the peak. | HarmonixDsp/HarmonixMeterData.h | |
void Merge
(
double InNewData |
Merge in new data on the audio thread. | HarmonixDsp/HarmonixMeterData.h | |
void MergeMinimum() |
Merge in the data to minimum on the audio thread. This happens without taking a lock. | HarmonixDsp/HarmonixMeterData.h | |
void PeekAtLatest
(
double& OutCurrent, |
Get the metering data on the main thread without triggering a data clearing returns the current value, and the peak. | HarmonixDsp/HarmonixMeterData.h |