Property | Type | Description | |
---|---|---|---|
initInStart | bool | ||
onMicFailed | OnMicFailed |
Property | Type | Description | |
---|---|---|---|
_initialized | bool | ||
_onReadyToRecord | ReadyToRecordHandler |
Method | Description | |
---|---|---|
InitDevices ( ) : void | ||
OnDestroy ( ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
ResetDevices ( ) : void |
Call to refresh the list of available microphones ( Microphones static property ). This stops the current microphone.
|
|
StartMicrophone ( |
Prepares and starts a stream with mic input. This method starts a coroutine: when mic input goes live, callback will be fired.
|
|
StartMicrophone ( ReadyToRecordHandler callback = null ) : void |
Prepares and starts a stream with CurrentMic as input. This method starts a coroutine: when mic input goes live, callback will be fired.
|
|
Update ( ) : void |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
OnAudioFilterRead ( float data, int numChannels ) : void |
Method | Description | |
---|---|---|
InitMicrophonedRoutine ( ) : IEnumerator | ||
Start ( ) : IEnumerator |
protected OnAudioFilterRead ( float data, int numChannels ) : void | ||
data | float | |
numChannels | int | |
return | void |
public StartMicrophone ( |
||
micInfo | ||
callback | ReadyToRecordHandler | |
return | void |
public StartMicrophone ( ReadyToRecordHandler callback = null ) : void | ||
callback | ReadyToRecordHandler | |
return | void |
protected ReadyToRecordHandler _onReadyToRecord | ||
return | ReadyToRecordHandler |