MicrophoneReader
public class MicrophoneReader : MonoBehaviour
Handles microphone input data and sends input to ODIN
Properties
Name | Type | Description |
---|---|---|
HasPermission | Boolean | Check if the user has authorized use of the microphone |
RedirectCapturedAudio | Boolean | |
ContinueRecording | Boolean | |
AudioClipLength | Int32 | |
OverrideSampleRate | Boolean | Use set DeviceSampleRate on false |
SampleRate | MediaSampleRate | The recording Core |
CustomInputDevice | Boolean | |
InputDevice | String | |
AutostartListen | Boolean | Use |
CustomMicVolumeScale | Boolean | |
MicVolumeScale | Single | |
Loopback | Boolean | Create and play |
OnMicrophoneData | MicrophoneCallbackDelegate | Event is fired if raw microphone data is available |
Public Methods
Name | Description |
---|---|
StartListen | Start Unity microphone capture |
MuteRoomMicrophone | Request SetMicrophoneMute(System to mute by room |
StopListen | Stop Unity Microphone capture if this AudioSender created the recording |