Skip to main content
Version: 2.x

Class OdinMuteAudioComponent

Custom mute audio component for OdinNative.Wrapper.Media.CustomEffect

This class is a effect in the odin audio pipline to mute based on the OdinNative.Unity.Audio.OdinMuteAudioComponent.SilenceToggle flag. The intention is to provide a convenient way with Unity Editor UI of Marshal a 1-byte signed integer bool for a specific audio packet in the current pipline.

Assembly: cs.temp.dll.dll
Declaration
public class OdinMuteAudioComponent : OdinCustomEffectUnityComponentBase<IntPtr>, IOdinEffect

Inheritance: System.Object -> OdinNative.Unity.Audio.OdinCustomEffectUnityComponentBase<U>

Implements:
OdinNative.Unity.Audio.IOdinEffect

Fields

SilenceToggle

Declaration
public bool SilenceToggle

Methods

GetEffectUserData()

Declaration
public override IntPtr GetEffectUserData()
Returns

Odin.IntPtr

CustomEffectCallback(OdinArrayf, ref bool, IntPtr)

Declaration
public override void CustomEffectCallback(OdinArrayf audio, ref bool isSilent, IntPtr _)
Parameters
TypeName
Odin.OdinArrayfaudio
System.BooleanisSilent
Odin.IntPtr_

Implements