Class AudioOptions

    Definition

    Namespace:
    Tizen.AIAvatar
    Assembly:
    Tizen.AIAvatar.dll

    Provides the ability to audio

    public class AudioOptions
    Inheritance
    object
    AudioOptions

    Constructors

    View Source

    AudioOptions(int, AudioChannel, AudioSampleType, AudioStreamType)

    Initializes a new instance of the AudioOptions class with the specified sample rate, channel, sampleType and streamType.

    Declaration
    public AudioOptions(int sampleRate, AudioChannel channel, AudioSampleType sampleType, AudioStreamType streamType)
    Parameters
    Type Name Description
    int sampleRate

    the audio sample rate (8000 ~ 192000Hz)

    AudioChannel channel

    the audio channel type.

    AudioSampleType sampleType

    the audio sample type.

    AudioStreamType streamType

    the audio Stream type.

    Properties

    View Source

    Channel

    The audio channel type

    Declaration
    public AudioChannel Channel { get; set; }
    Property Value
    Type Description
    AudioChannel
    View Source

    DuckingDuration

    The audio ducking duration.

    Declaration
    public uint DuckingDuration { get; set; }
    Property Value
    Type Description
    uint
    View Source

    DuckingRatio

    The audio ducking ratio.

    Declaration
    public double DuckingRatio { get; set; }
    Property Value
    Type Description
    double
    View Source

    DuckingTargetStreamType

    The audio ducking target stream type.

    Declaration
    public AudioStreamType DuckingTargetStreamType { get; }
    Property Value
    Type Description
    AudioStreamType
    View Source

    SampleRate

    The audio sample rate (8000 ~ 192000Hz)

    Declaration
    public int SampleRate { get; set; }
    Property Value
    Type Description
    int
    View Source

    SampleType

    The audio sample type

    Declaration
    public AudioSampleType SampleType { get; set; }
    Property Value
    Type Description
    AudioSampleType
    View Source

    StreamType

    The audio stream type

    Declaration
    public AudioStreamType StreamType { get; set; }
    Property Value
    Type Description
    AudioStreamType

    Methods

    View Source

    DuckingOptions(AudioStreamType, uint, double)

    Initialize the DuckingOption values of the AudioOptions class using the specified target StreamType, Duration, and Ratio.

    Declaration
    public void DuckingOptions(AudioStreamType duckingTargetStreamType, uint duckingDuration, double duckingRatio)
    Parameters
    Type Name Description
    AudioStreamType duckingTargetStreamType

    the audio Ducking target Stream type.

    uint duckingDuration

    the ducking duration.

    double duckingRatio

    the ducking target volume ratio.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX