Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Microphone.Start briefly freezes Unity application

Discussion in 'Audio & Video' started by LGolivia, Mar 24, 2017.

  1. LGolivia

    LGolivia

    Joined:
    Nov 21, 2012
    Posts:
    4
    When I call Microphone.Start, the entire application (on Win7 standalone, Unity3D 5.3.4f1) freezes for about half a second before recording starts. I tried moving it to a separate thread, but was informed that Microphone.Start could only be called from the main thread.

    Is this a known issue, or just something on my end?
     
  2. MariusRu

    MariusRu

    Joined:
    Oct 15, 2015
    Posts:
    33
    6 years later, I can only say that I experience the same problem using the Oculus Quest and there does not seem to be a good solution. I try to start the Microphone at the start of the scene to hide the freeze a little.
     
  3. israelz74

    israelz74

    Joined:
    Jan 11, 2023
    Posts:
    4
    Could you put sample code or link? Thank you !