Class AudioConfig
An audio configuration.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class AudioConfig : MediaConfig<AudioConfig>
Constructors
AudioConfig(Int32, Int32)
Initializes a new instance of the AudioConfig class.
Declaration
public AudioConfig(int clockRate, int channelCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | clockRate | The clock rate. |
System.Int32 | channelCount | The channel count. |
Properties
ChannelCount
Gets the channel count.
Declaration
public int ChannelCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
IsEquivalent(AudioConfig)
Determines whether the specified configuration is equivalent.
Declaration
public override bool IsEquivalent(AudioConfig config)
Parameters
Type | Name | Description |
---|---|---|
AudioConfig | config | The configuration. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
FM.LiveSwitch.MediaConfig<FM.LiveSwitch.AudioConfig>.IsEquivalent(FM.LiveSwitch.AudioConfig)
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()