Quantcast
Channel: Questions in topic: "ios platform"
Viewing all articles
Browse latest Browse all 3714

Take Audio in from Mic but not play it out over speakers iOS

$
0
0
GetComponent().clip = Microphone.Start(selectedDevice, true, 1, maxFreq);//Starts recording while (!(Microphone.GetPosition(selectedDevice) > 0)) { } // Wait until the recording has started GetComponent().Play(); // Play the audio source! I'm using this code to start the mic up and generate a sound file but it plays out to the speakers. **How can I have it so that the Unity Audio Listener hears it, but it doesn't go out to the speakers?**

Viewing all articles
Browse latest Browse all 3714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>