We use beat/frequency detection in our games, and were relying on the ability to read microphone input data without the player hearing the mic feedback, hence we always muted the microphone’s AudioSource. However, Unity 5.2 makes it so that a muted AudioSource does not produce output data at all in GetOutputData.
Is this intended behavior? The 5.2 release changes don’t mention anything about this, so it was unexpected.
I think we are able to go around this by creating a mixer with the minimum allowed master volume and setting the mixer group of the microphone’s audio source to that, but we would like to hear from you.
Thanks!