Class AecContext
An acoustic echo cancellation context.
Inheritance
System.Object
AecContext
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.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class AecContext
Constructors
AecContext()
Initializes a new instance of the AecContext class.
Declaration
public AecContext()
Properties
Config
Gets the configuration.
Declaration
public AudioConfig Config { get; }
Property Value
Type | Description |
---|---|
AudioConfig |
OutputMixer
Gets the echo cancellation output mixer.
Declaration
public AudioPipe OutputMixer { get; }
Property Value
Type | Description |
---|---|
AudioPipe |
OutputMixerSink
Gets the echo cancellation output mixer sink.
Declaration
public AudioSink OutputMixerSink { get; }
Property Value
Type | Description |
---|---|
AudioSink |
Processor
Gets the echo cancellation processor.
Declaration
public AecPipe Processor { get; }
Property Value
Type | Description |
---|---|
AecPipe |
Methods
CreateOutputMixer(AudioConfig)
Creates an echo cancellation output mixer.
Declaration
protected virtual AudioPipe CreateOutputMixer(AudioConfig config)
Parameters
Type | Name | Description |
---|---|---|
AudioConfig | config | The configuration. |
Returns
Type | Description |
---|---|
AudioPipe |
CreateOutputMixerSink(AudioConfig)
Creates an echo cancellation output mixer sink.
Declaration
protected abstract AudioSink CreateOutputMixerSink(AudioConfig config)
Parameters
Type | Name | Description |
---|---|---|
AudioConfig | config | The configuration. |
Returns
Type | Description |
---|---|
AudioSink |
CreateProcessor()
Creates an echo cancellation processor.
Declaration
protected abstract AecPipe CreateProcessor()
Returns
Type | Description |
---|---|
AecPipe |
Destroy()
Destroys this instance.
Declaration
public bool Destroy()
Returns
Type | Description |
---|---|
System.Boolean |