VoiceSynchronizableIAudioInputStart Method
Start Recording with device.
Namespace: Alteruna.MultiplayerAssembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
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.