Class ApmEffect
Audio Processing Module (APM) effect for OdinNative.Wrapper.MediaPipeline
Inheritance: System.Object -> OdinNative.Wrapper.Media.PipelineEffect
Implements:
OdinNative.Wrapper.Media.IPipelineEffect
Properties
EchoCanceller
Indicates whether the ApmConfig setting is enabled
HighPassFilter
Indicates whether the ApmConfig setting is enabled
NoiseSuppressionLevel
Indicates the level of noise suppression ApmConfig setting by default
TransientSuppressor
Indicates whether the ApmConfig setting is enabled
GainControllerVersion
Indicates the gain controller version ApmConfig setting
Samplerate
Output decoder samplerate
IsStereo
Output decoder channel flag
Fields
Config
Audio processing configuration
Methods
UpdateEffectConfig(MediaPipeline)
Set audio processing configuration
Returns
System.Boolean: true on success or false
Parameters
| Type | Name | Description |
|---|---|---|
| OdinNative.Wrapper.MediaPipeline | pipeline | currently unused |
SetApmConfig(OdinApmConfig)
Set managed audio processing configuration
Returns
OdinNative.Core.Imports.NativeBindings.OdinError: updated config
Parameters
| Type | Name | Description |
|---|---|---|
| OdinNative.Core.Imports.NativeBindings.OdinApmConfig | config | new config |
SetVadConfig(OdinVadConfig)
Not supported
Returns
OdinNative.Core.Imports.NativeBindings.OdinError
Parameters
| Type | Name |
|---|---|
| OdinNative.Core.Imports.NativeBindings.OdinVadConfig | config |
Exceptions
OdinNative.Wrapper.OdinWrapperException
GetVadConfig(out OdinVadConfig)
Not supported
Returns
OdinNative.Core.Imports.NativeBindings.OdinError
Parameters
| Type | Name |
|---|---|
| OdinNative.Core.Imports.NativeBindings.OdinVadConfig | config |
Exceptions
OdinNative.Wrapper.OdinWrapperException
Create(MediaPipeline, uint, bool, OdinApmConfig)
Insert an APM effect in the specified pipeline and sets the apm config
Returns
OdinNative.Wrapper.Media.ApmEffect: Instance of OdinNative.Wrapper.Media.ApmEffect
Parameters
| Type | Name | Description |
|---|---|---|
| OdinNative.Wrapper.MediaPipeline | pipeline | where to create an APM effect |
System.UInt32 | samplerate | samplerate of playback |
System.Boolean | stereo | stereo of playback |
| OdinNative.Core.Imports.NativeBindings.OdinApmConfig | config | configuration settings for apm |