Search Results for

    Show / Hide Table of Contents

    Class ConcentusDecodeFilter

    Decodes Opus encoded audio. Use this as a filter for incoming client audio.

    Inheritance
    System.Object
    ConcentusDecodeFilter
    Implements
    IAudioFilter
    Namespace: Adrenak.UniVoice.Filters
    Assembly: cs.temp.dll.dll
    Syntax
    public class ConcentusDecodeFilter : IAudioFilter

    Constructors

    ConcentusDecodeFilter(Int32)

    Creates a Concentus decode filter.

    Declaration
    public ConcentusDecodeFilter(int decodeBufferLength = 11520)
    Parameters
    Type Name Description
    System.Int32 decodeBufferLength

    The length of the decode buffer. Default is 11520 to fit a large sample with frequency 48000, duration 120ms and 2 channels. This should be enough for almost all scenarios. Increase if you need more.

    Methods

    Run(AudioFrame)

    Declaration
    public AudioFrame Run(AudioFrame input)
    Parameters
    Type Name Description
    AudioFrame input
    Returns
    Type Description
    AudioFrame

    Implements

    IAudioFilter
    In This Article
    Back to top UniVoice documentation