Search Results for

    Show / Hide Table of Contents

    Class Audio

    A Matroska audio element.

    Inheritance
    System.Object
    Element
    Audio
    Inherited Members
    Element.WriteDefaultValues
    Element.SizeLength
    Element.Length
    Element.Size
    Element.GetBytes()
    Element.SerializeVariableInteger(Int64)
    Element.SerializeVariableInteger(Int64, Int32)
    Element.WriteVariableInteger(Int64, ByteOutputStream)
    Element.WriteVariableInteger(Int64, ByteOutputStream, Int32)
    Element.ReadVariableInteger(Byte[], Int32, Int32)
    Element.WriteUnsignedInteger(Int64, Byte[], ByteOutputStream)
    Element.ReadUnsignedInteger(Byte[])
    Element.WriteSignedInteger(Int64, Byte[], ByteOutputStream)
    Element.ReadSignedInteger(Byte[])
    Element.WriteBool(Boolean, Byte[], ByteOutputStream)
    Element.ReadBool(Byte[])
    Element.WriteFloat(Single, Byte[], ByteOutputStream)
    Element.ReadFloat(Byte[])
    Element.WriteDouble(Double, Byte[], ByteOutputStream)
    Element.ReadDouble(Byte[])
    Element.WriteDate(DateTime, Byte[], ByteOutputStream)
    Element.ReadDate(Byte[])
    Element.WriteString(String, Byte[], ByteOutputStream)
    Element.ReadString(Byte[])
    Element.WriteUtf8(String, Byte[], ByteOutputStream)
    Element.ReadUtf8(Byte[])
    Element.WriteGuid(Guid, Byte[], ByteOutputStream)
    Element.ReadGuid(Byte[])
    Element.Write(Byte[], Byte[], ByteOutputStream)
    Element.ReadId(Byte[], Int32, Int32)
    Element.ReadValue(Byte[], Int32, Int32)
    Element.Compare(Byte[], Byte[])
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FM.LiveSwitch.Matroska
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class Audio : Element

    Constructors

    Audio()

    Initializes a new instance of the Audio class.

    Declaration
    public Audio()

    Audio(Byte[])

    Initializes a new instance of the Audio class.

    Declaration
    public Audio(byte[] bytes)
    Parameters
    Type Name Description
    System.Byte[] bytes

    The bytes.

    Properties

    BitDepth

    Gets or sets the bit depth.

    Declaration
    public long? BitDepth { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    Channels

    Gets or sets the channels. Defaults to 1.

    Declaration
    public long Channels { get; set; }
    Property Value
    Type Description
    System.Int64

    DefaultChannels

    Gets the default channels.

    Declaration
    public static long DefaultChannels { get; }
    Property Value
    Type Description
    System.Int64

    DefaultSamplingFrequency

    Gets the default sampling frequency.

    Declaration
    public static float DefaultSamplingFrequency { get; }
    Property Value
    Type Description
    System.Single

    EbmlId

    Gets the EBML ID.

    Declaration
    public static byte[] EbmlId { get; }
    Property Value
    Type Description
    System.Byte[]

    Id

    Gets the EBML ID.

    Declaration
    public override byte[] Id { get; }
    Property Value
    Type Description
    System.Byte[]
    Overrides
    Element.Id

    OutputSamplingFrequency

    Gets or sets the output sampling frequency.

    Declaration
    public float? OutputSamplingFrequency { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Single>

    SamplingFrequency

    Gets or sets the sampling frequency. Defaults to 8000.

    Declaration
    public float SamplingFrequency { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    GetInnerBytes()

    Gets the inner bytes.

    Declaration
    protected override byte[] GetInnerBytes()
    Returns
    Type Description
    System.Byte[]
    Overrides
    Element.GetInnerBytes()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0