Headphones without microphones (Android)
Opened this issue · 2 comments
fcvalise commented
Thank you for this pluggin, it saves me lot of time :)
I noticed that nothing is detected if I plug headphones without microphone,. Does that makes any sense to you ?
Thanks again for your work !
SniperED007 commented
add TYPE_WIRED_HEADPHONES to the android plugin:
if(audioDeviceInfos[i].getType() == AudioDeviceInfo.TYPE_BLUETOOTH_SCO || audioDeviceInfos[i].getType() == AudioDeviceInfo.TYPE_WIRED_HEADSET || audioDeviceInfos[i].getType() == AudioDeviceInfo.TYPE_WIRED_HEADPHONES)
juanma-ivre commented