VisioForge (c) 2025

Search Results for

    Class WAVEncoderSettings

    WAV audio encoder settings.

    Inheritance
    object
    WAVEncoderSettings
    Implements
    IAudioEncoder
    IMediaBlockSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: VisioForge.Core.Types.X.AudioEncoders
    Assembly: VisioForge.Core.dll
    Syntax
    public class WAVEncoderSettings : IAudioEncoder, IMediaBlockSettings

    Constructors

    WAVEncoderSettings()

    Initializes a new instance of the WAVEncoderSettings class.

    Declaration
    public WAVEncoderSettings()

    WAVEncoderSettings(AudioFormatX, int, int)

    Initializes a new instance of the WAVEncoderSettings class.

    Declaration
    public WAVEncoderSettings(AudioFormatX format, int sampleRate, int channels)
    Parameters
    Type Name Description
    AudioFormatX format

    The format.

    int sampleRate

    The sample rate.

    int channels

    The channels.

    Fields

    Name

    The name.

    Declaration
    public static string Name
    Field Value
    Type Description
    string

    Properties

    Channels

    Gets or sets the channels.

    Declaration
    public int Channels { get; set; }
    Property Value
    Type Description
    int

    The channels.

    Format

    Gets or sets audio format.

    Declaration
    public AudioFormatX Format { get; set; }
    Property Value
    Type Description
    AudioFormatX

    SampleRate

    Gets or sets the sample rate.

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

    The sample rate.

    Methods

    CreateBlock()

    Creates the block.

    Declaration
    public MediaBlock CreateBlock()
    Returns
    Type Description
    MediaBlock

    MediaBlock.

    GetFormatList()

    Gets the format list.

    Declaration
    public static IEnumerable<string> GetFormatList()
    Returns
    Type Description
    IEnumerable<string>

    IEnumerable<System.String>.

    GetSupportedBitrates()

    Gets the supported bitrates.

    Declaration
    public int[] GetSupportedBitrates()
    Returns
    Type Description
    int[]

    System.Int32[].

    GetSupportedChannelCounts()

    Gets the supported channel counts.

    Declaration
    public int[] GetSupportedChannelCounts()
    Returns
    Type Description
    int[]

    System.Int32[].

    Exceptions
    Type Condition
    NotImplementedException

    GetSupportedSampleRates()

    Gets the supported sample rates.

    Declaration
    public int[] GetSupportedSampleRates()
    Returns
    Type Description
    int[]

    System.Int32[].

    IsAvailable()

    Determines whether this encoder is available.

    Declaration
    public static bool IsAvailable()
    Returns
    Type Description
    bool

    true if this encoder is available; otherwise, false.

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents this instance.

    Overrides
    object.ToString()

    Implements

    IAudioEncoder
    IMediaBlockSettings