Class Audio
A Matroska audio element.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
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[] |