Navigation
API > API/Plugins > API/Plugins/AudioWidgets
| Name | FVolumeProcessor |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/SAudioInputWidget.h |
| Include Path | #include "SAudioInputWidget.h" |
Syntax
struct FVolumeProcessor : public FAudioUnitProcessor
Inheritance Hierarchy
- FAudioUnitProcessor → FVolumeProcessor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVolumeProcessor
(
bool bInUseLinearOutput |
SAudioInputWidget.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxDbValue | const float | SAudioInputWidget.h | |
| MinDbValue | const float | Min/max possible values for output range, derived to avoid Audio::ConvertToLinear/dB functions returning NaN. | SAudioInputWidget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseLinearOutput | bool | Use linear (converted from dB, not normalized) output value. Only applies to the output value reported by GetOutputValue(); the text displayed will still be in decibels. | SAudioInputWidget.h |
Functions
Public
Overridden from FAudioUnitProcessor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FVector2D GetDefaultOutputRange () |
Get the default Output range for the processor. | SAudioInputWidget.h | |
virtual const FVector2D GetOutputRange
(
const FVector2D InRange |
Get the OutputRange. Possibility to modify the output range. Currently only used for Volume | SAudioInputWidget.h | |
virtual const float GetOutputValue
(
const FVector2D OutputRange, |
Get the OutputValue. This is where to calculate what the processor will actually output | SAudioInputWidget.h | |
virtual const float GetOutputValueForText
(
const FVector2D OutputRange, |
Get the OutputValue that will be shown as text. | SAudioInputWidget.h | |
virtual const float GetSliderValue
(
const FVector2D OutputRange, |
Get the Value for the slider. This should be clamped to be inside the given slider range | SAudioInputWidget.h | |
virtual const float GetSliderValueForText
(
const FVector2D OutputRange, |
Get the Slider value for the text. | SAudioInputWidget.h | |
virtual const FText GetUnitsText() |
Get the units that the processor will output | SAudioInputWidget.h |