Class OdinApmComponent
AudioProcessingModule component for OdinNative.Wrapper.Media.ApmEffect
This class provides configuration for the native implemented audio processing. The supported processor/filter are applicable to OdinNative.Wrapper.Media.IMedia which must be set.
Assembly: cs.temp.dll.dll
Declaration
Implements:
OdinNative.Unity.Audio.IOdinEffect
Properties
Media
Declaration
Effect
Declaration
IsCreated
Declaration
Fields
EchoCanceller
Declaration
HighPassFilter
Declaration
PreAmplifier
Declaration
NoiseSuppression
Declaration
TransientSuppressor
Declaration
GainController
Declaration
Methods
UpdateConfig()
Declaration
UpdateConfig(MediaPipeline)
Declaration
Parameters
Type | Name |
---|---|
Odin.MediaPipeline | pipeline |
ResetEffect()
Declaration
ResetEffect(MediaPipeline, uint, bool, OdinApmConfig)
Declaration
Parameters
Type | Name |
---|---|
Odin.MediaPipeline | pipeline |
System.UInt32 | samplerate |
System.Boolean | stereo |
Odin.OdinApmConfig | config |
UpdateApmPlayback(float[])
Send samples to Apm processing. The buffer should contain loopback audio data for calculating echo cancellation.
Declaration
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | buffer | samples |
GetMedia<T>()
Declaration
Returns
<T>
Type Parameters
T
GetEffect()
Declaration
Returns
Odin.PiplineEffect