Class ApmEffect
VoiceActivity effect for OdinNative.Wrapper.MediaPipeline
Assembly: cs.temp.dll.dll
Inheritance: System.Object
-> OdinNative.Wrapper.Media.PiplineEffect
Implements:
OdinNative.Wrapper.Media.IPiplineEffect
Properties
EchoCanceller
Idicates whether the ApmConfig setting is enabled
HighPassFilter
Idicates whether the ApmConfig setting is enabled
PreAmplifier
Idicates whether the ApmConfig setting is enabled
NoiseSuppressionLevel
Idicates the level of noise suppression ApmConfig setting by default
TransientSuppressor
Idicates whether the ApmConfig setting is enabled
GainController
Idicates whether the ApmConfig setting is enabled
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 |
---|---|
OdinNative.Wrapper.MediaPipeline | pipeline |
SetApmConfig(OdinApmConfig)
Set managed audio processing configuration
Returns
Odin.OdinError
: updated config
Parameters
Type | Name | Description |
---|---|---|
Odin.OdinApmConfig | config | new config |
SetVadConfig(OdinVadConfig)
Not supported
Returns
Odin.OdinError
Parameters
Type | Name |
---|---|
Odin.OdinVadConfig | config |
Exceptions
OdinNative.Wrapper.OdinWrapperException
GetVadConfig(out OdinVadConfig)
Not supported
Returns
Odin.OdinError
Parameters
Type | Name |
---|---|
Odin.OdinVadConfig | config |
Exceptions
OdinNative.Wrapper.OdinWrapperException
Create(MediaPipeline, uint, bool, OdinApmConfig)
Insert a apm effect in the specified pipline 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 a apm effect |
System.UInt32 | samplerate | samplerate of playback |
System.Boolean | stereo | stereo of playback |
Odin.OdinApmConfig | config | configuration settings for apm |