Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

BUG: iPhone Microphone.GetDeviceCaps always returns 0 for frequency

$
0
0
My project is a gig, and I don't want to submit my whole project to Unity....

1) What happened

Microphone.GetDeviceCaps always returns 0 and 0 for Min/Max frequency on iPhone5

2) How can we reproduce it using the example you attached.

int minFreq = 0;
int maxFreq = 0;


foreach(string s in Microphone.devices)
{
Microphone.GetDeviceCaps(s, out minFreq, out maxFreq);
Debug.Log("Device Name: " + s + " [" + minFreq.ToString() + "-" + maxFreq.ToString() +...

BUG: iPhone Microphone.GetDeviceCaps always returns 0 for frequency

Viewing all articles
Browse latest Browse all 10823

Trending Articles



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