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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Microphone completely stops working after user changes audio device settings during game

Discussion in 'Audio & Video' started by TheChuckster, Oct 9, 2015.

  1. TheChuckster

    TheChuckster

    Joined:
    Dec 16, 2014
    Posts:
    28
    Hi, anytime one of my Mac OS X users changes their microphone/sound settings while they are playing my Unity VoIP-enabled game, they no longer are able to record their voice -- the audio just drops out completely.

    Is there a way to detect audio device settings changes and continue recording audio with the microphone on the correct device while my Unity game is running?
     
  2. TheChuckster

    TheChuckster

    Joined:
    Dec 16, 2014
    Posts:
    28
    Does Unity maintain an up-to-date list of the microphone devices? I am considering polling for a new/different device[0] and restarting recording on the new/different device whenever it changes.