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. Users are able to record without an issue. Any user using headphones with a built-in mic are not able to record at all. My class creates the .wav file from PCM data but no audio is being input from the mic. Its all silence.
I use the following the init my AudioRecorder:
extAudioRecorder = new ExtAudioRecorder(true,
AudioSource.MIC,
44100,
AudioFormat.CHANNEL_IN_MONO,
AudioFormat.ENCODING_PCM_16BIT);
Is there a problem trying to record using headphones w/ a mic in Android?
EDIT:
Just found out that the headphones dont even have to have a MIC and the internal mic is still disabled. Anyone know how to get around this?
http://code.google.com/p/android/issues/detail?id=4095