Class MicrophoneReader
Handles microphone input data and sends input to ODIN
Properties
HasPermission
Check if the user has authorized use of the microphone
Fields
RedirectCapturedAudio
Skips registered PushAudio for the OnMicrophoneData event
SilenceCapturedAudio
Zero out the event audio buffer for PushAudio.
ContinueRecording
AudioClipLength
OverrideSampleRate
Use set OdinNative.Unity.Audio.MicrophoneReader.SampleRate on true, OdinNative.Unity.OdinEditorConfig.DeviceSampleRate on false
SampleRate
The recording OdinNative.Core.MediaSampleRate
CustomInputDevice
Enable/Disable the use of OdinNative.Unity.Audio.MicrophoneReader.InputDevice as a new/fixed device name
InputDevice
The device name to use as microphone in Unity. (i.e Microphone.Start)
AutostartListen
Use OdinNative.Unity.Audio.MicrophoneReader.Start
CustomMicVolumeScale
MicVolumeScale
Loopback
Create and play
OnMicrophoneData
Event is fired if raw microphone data is available
Methods
StartListen()
Start Unity microphone capture
Returns
System.Boolean
StopListen()
Stop Unity Microphone capture if this AudioSender created the recording