Interface IPiplineEffect
Assembly: cs.temp.dll.dll
Properties
Id
Effect id
Index
Effect index
Parent
Pipeline handle
Methods
GetEffectIndex(out uint)
Get native effect index
Returns
Odin.NativeBindings.OdinError
: OdinNative.Core.Imports.NativeBindings.OdinError.ODIN_ERROR_SUCCESS or error
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | indexId | native index |
GetEffectType(out OdinEffectType)
Get native effect OdinNative.Core.Imports.NativeBindings.OdinEffectType
Returns
Odin.NativeBindings.OdinError
: OdinNative.Core.Imports.NativeBindings.OdinError.ODIN_ERROR_SUCCESS or error
Parameters
Type | Name | Description |
---|---|---|
Odin.NativeBindings.OdinEffectType | effectType | native type |
GetVadConfig(out OdinVadConfig)
Get native voice activity config
Returns
Odin.NativeBindings.OdinError
: OdinNative.Core.Imports.NativeBindings.OdinError.ODIN_ERROR_SUCCESS or error
Parameters
Type | Name | Description |
---|---|---|
Odin.NativeBindings.OdinVadConfig | config | native config |
SetApmConfig(OdinApmConfig)
Set native audio processing config
Returns
Odin.NativeBindings.OdinError
: OdinNative.Core.Imports.NativeBindings.OdinError.ODIN_ERROR_SUCCESS or error
Parameters
Type | Name | Description |
---|---|---|
Odin.NativeBindings.OdinApmConfig | config | native config |
SetApmStreamDelay(ulong)
Set native audio processing delay
Returns
Odin.NativeBindings.OdinError
: OdinNative.Core.Imports.NativeBindings.OdinError.ODIN_ERROR_SUCCESS or error
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | ms | delay |
SetVadConfig(OdinVadConfig)
Set native voice activity config
Returns
Odin.NativeBindings.OdinError
: OdinNative.Core.Imports.NativeBindings.OdinError.ODIN_ERROR_SUCCESS or error
Parameters
Type | Name | Description |
---|---|---|
Odin.NativeBindings.OdinVadConfig | config | new config |
UpdateApmPlayback(float[])
Send samples for native audio processing
Returns
Odin.NativeBindings.OdinError
: OdinNative.Core.Imports.NativeBindings.OdinError.ODIN_ERROR_SUCCESS or error
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | audio | samples |