Skip to content Skip to sidebar Skip to footer

Android Audiorecord Headphones With Mic

I am having some issues with the AudioRecord class. I have an app that records audio while someone is listening to audio through headphones. In this scenario, it works fine. Use

Solution 1:

Found out that some phones disable the built-in microphone when headphones are plugged in. Mostly Samsung devices.

Solution 2:

to force the use of builtin mic (at least on samsung devices), you can use MediaRecorder.AudioSource.CAMCORDER as source

Post a Comment for "Android Audiorecord Headphones With Mic"