- Home /
Why does Microphone.GetDeviceCaps lie?
Wondering if others have experienced this and if it's perhaps a Unity bug.
I've been doing some tests on my Android devices and found that when I check min/max supported sample rates of the microphone (via GetDeviceCaps), they show min and max both at 44100.
However, I've also found that I can actually record at many other sample rates (12k, 24k, 48k) by simply specifying a different rate in Microphone.Start(). I've double checked to ensure that the mic is actually recording at these other rates and sure enough it is.
Any idea why this is happening? Unity bug?
$$anonymous$$icrophone.GetDeviceCaps function has certain inputs like a name, $$anonymous$$, and max. But could it be that depending on what was entered into the function could cause different results, or similar results? Have you tested different input values into that function? (other than sampling rates)
Your answer
Follow this Question
Related Questions
Microphone Input Latency Android 1 Answer
Sound Quality and Lag when using WebRTC with Unity on LG Phones 0 Answers
Why does sound on Android play at double speed and crackle? 3 Answers
Is sound in background/screen off possible yet (Unity 5)? 1 Answer
Decrease Android build size when using a lot of sounds 1 Answer