• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Why cannot AudioDeviceInfo find all speakers and microphones?

gladys0313

Lurker
Aug 5, 2018
1
0
Hi everyone. I'm using Nexus 6 which is specified to have 3 microphones and 2 speakers. I used the class AudioManager and AudioDeviceInfo to check the available audio devices, and what I found are:

GET_DEVICES_INPUTS: TYPE_BUILTIN_MIC, TYPE_TELEPHONY
GET_DEVICES_OUTPUTS: TYPE_BUILTIN_EARPIECE, TYPE_BUILTIN_SPEAKER, TYPE_TELEPHONY

So altogether there are 1 mic, 1 speaker, 2 telephony, and 1 earpiece.

I was wondering whether this means that there are 2 microphones and 3 speakers? And would it be possible that I can emit and record different sounds using different individual speakers and microphones simutaneously? For example, speaker 1 plays clip 1 which is recorded by mic 1, speaker 2 plays clip 2 which is recorded by mic 2....

Thanks a lot in advance!
 
Last edited:

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones