- Home /
Question by
carrotstien · May 27, 2019 at 08:01 AM ·
oculusmicrophone
Microphone not returning data
micDev = Microphone.devices[0];
recordingClip = Microphone.Start(micDev, true, microphoneLoopLength, recordingFrequency);
When starting the app, I've noticed that this is triggering a bunch of times: AudioSettings.OnAudioConfigurationChanged
..and the microphone gets into a state where the PCM position is changing, but the recordingClip.data never changes. When I plot it, it's just a repeating over and over again, or sometimes just at 0 the whole time. Stopping the mic, and running
recordingClip = Microphone.Start(micDev, true, microphoneLoopLength, recordingFrequency);
again seems to fix it. ..but this seems like a very hacky solution. Anyone know what's going on?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612202142im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can you force Unity to use Oculus microphone? 0 Answers
Failed to get record driver caps. result=37 1 Answer
Does Apple TV block ipad microphone? 0 Answers
Microphone.Start Record 1 Answer