docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct AudioClippingProtectorParameters

    Representation of parameters used to determine the behavior of Vivox's audio clipping protector,

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)