Navigation
API > API/Runtime > API/Runtime/SignalProcessing
TSample
| Name | TSample |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/Dsp.h |
| Include Path | #include "DSP/Dsp.h" |
Syntax
template<typename SampleType, uint32 Q>
class TSample
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSample
(
SampleType& InSample |
DSP/Dsp.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxValue | float | For fixed precision types, the max and min values that we can represent are calculated here: | DSP/Dsp.h |
| MinValue | float | DSP/Dsp.h | |
| QFactor | float | This is the number used to convert from float to our fixed precision value. | DSP/Dsp.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Sample | SampleType | DSP/Dsp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ReturnType AsFixedPrecisionInt() |
DSP/Dsp.h | ||
ReturnType AsFloat() |
DSP/Dsp.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void CheckValidityOfQ() |
DSP/Dsp.h | ||
static void CheckValidityOfSampleType() |
DSP/Dsp.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSample< SampleType, Q > & operator=
(
const OtherSampleType InSample |
DSP/Dsp.h |