I’m Trying to use the Kinect sensor to record some voice.
Here is my code.
public void StartRecording ()
{
if (_isRecording == false) {
_Q9Clip = Microphone.Start (null, true, 999, 44100);
}
}
public void StopRecording ()
{
if (_isRecording == true) {
Microphone.End ();
}
}
Then,There is an error Popped-up in Unity 5
Starting Microphone failed. result=25 (Unsupported file or audio format. )
UnityEngine.Microphone:Start(String, Boolean, Int32, Int32)
However In Unity 4 are all correct.
Why is that?![]()
