Class Format
Linear PCM 16-bit audio (PCM Uncompressed).
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)
Namespace: FM.LiveSwitch.L16
Assembly: FM.LiveSwitch.dll
Syntax
public class Format : AudioFormat
Constructors
Format()
Initializes a new instance of the Format class.
Declaration
public Format()
Format(AudioConfig)
Initializes a new instance of the Format class.
Declaration
public Format(AudioConfig config)
Parameters
Type | Name | Description |
---|---|---|
AudioConfig | config | The configuration. |
Format(Int32, Int32)
Initializes a new instance of the Format class.
Declaration
public Format(int clockRate, int channelCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | clockRate | The clock rate. |
System.Int32 | channelCount | The channel count. |
Properties
DefaultChannelCount
Gets the default clock rate (2).
Declaration
public static int DefaultChannelCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
DefaultClockRate
Gets the default clock rate (48000).
Declaration
public static int DefaultClockRate { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
DefaultConfig
Gets the default configuration (48000/2).
Declaration
public static AudioConfig DefaultConfig { get; }
Property Value
Type | Description |
---|---|
AudioConfig |
MaxBitrate
Gets the maximum bitrate supported by this format, in kbps.
Declaration
public override int MaxBitrate { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
FM.LiveSwitch.MediaFormat<FM.LiveSwitch.AudioFormat>.MaxBitrate
MinBitrate
Gets the minimum bitrate supported by this format, in kbps.
Declaration
public override int MinBitrate { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
FM.LiveSwitch.MediaFormat<FM.LiveSwitch.AudioFormat>.MinBitrate