VoiceSynchronizableUnityMicrophoneStart Method
Start Recording with device.
Namespace: Alteruna.Multiplayer.UnityAssembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
public AudioClip Start(
string deviceName,
bool loop,
int lengthSec,
int frequency
)
- deviceName String
- The name of the device.
- loop Boolean
- Indicates whether the recording should continue recording if lengthSec is reached, and wrap around and record from the beginning of the AudioClip.
- lengthSec Int32
- Is the length of the AudioClip produced by the recording.
- frequency Int32
- The sample rate of the AudioClip produced by the recording.
AudioClipThe function returns null if the recording fails to start.
VoiceSynchronizableIAudioInputStart(String, Boolean, Int32, Int32)