Struct AudioClippingProtectorParameters
Representation of parameters used to determine the behavior of Vivox's audio clipping protector,
Inherited Members
Namespace: Unity.Services.Vivox
Assembly: Unity.Services.Vivox.dll
Syntax
public readonly struct AudioClippingProtectorParameters
Constructors
AudioClippingProtectorParameters(float, float)
Creates a new instance of AudioClippingProtectorParameters with specified threshold and slope values.
Declaration
public AudioClippingProtectorParameters(float minimumThresholdDb, float thresholdBoostSlope)
Parameters
Type | Name | Description |
---|---|---|
float | minimumThresholdDb | The minimum threshold in dBFS where clipping protection begins. Must be between -50.0 and 0.0. |
float | thresholdBoostSlope | The ratio between boost gain and threshold. Must be between -1.0 and -0.1. |
Fields
MinimumThresholdDb
The lowest point in dBFS where clipping protection can be applied. Value must be between -50.0 and 0.0, inclusive.
Declaration
public readonly float MinimumThresholdDb
Field Value
Type | Description |
---|---|
float |
ThresholdBoostSlope
The ratio between boost gain and the calculated ThresholdDb. Value must be between -1.0 and -0.1, inclusive.
Declaration
public readonly float ThresholdBoostSlope
Field Value
Type | Description |
---|---|
float |