Skip to main content
Version: 2.x

Class OdinAudioReader

Handles audioclip input data and sends input to ODIN

This convenient class gathers input audio data from Unity to pass the data with OdinNative.Unity.Audio.OdinAudioReader.OnAudioData event to other components.

Assembly: cs.temp.dll.dll
Declaration
public class OdinAudioReader : MonoBehaviour

Fields

RedirectInputAudio

Skips registered PushAudio

Declaration
public bool RedirectInputAudio

SilenceInputAudio

Zero out the event audio buffer.

Declaration
public bool SilenceInputAudio

ContinueRecording

Declaration
public bool ContinueRecording

InputClip

Declaration
public AudioClip InputClip

CustomInputVolumeScale

Declaration
public bool CustomInputVolumeScale

InputVolumeScale

Declaration
public float InputVolumeScale

OnAudioData

Declaration
public UnityAudioData OnAudioData