Class AecContext
An acoustic echo cancellation context.
Inheritance
System.Object
AecContext
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class AecContext : object
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 |