microphone - Android stereo recording. Exact same data from two different channels -


i'm trying stereo recording galaxy nexus phone. spec, phone has 2 microphones build-in. correct me if i'm wrong, 2 microphones used when stereo recording supported on device

i no errors initializing , using audiorecord class record stereo audio. results i'm getting 2 audio channels same. has encountered same problem before? ideas? thank you. following code snippet i'm using stereo recording setup:

            int bufferread = 0;         int buffersize = audiorecord.getminbuffersize(44100,                 audioformat.channel_in_stereo, audioformat.encoding_pcm_16bit);         // if doesn't support sampling frequency         if (buffersize == audiorecord.error_bad_value                 || buffersize == audiorecord.error) {             log.i(this.tostring(), "doesn't support sampling rate of "                     + frequency);             throw new illegalargumentexception(                     "entered unsupported audio sampling rate");         }         // grabbing 16-bit pcm audio         short[] tempbuffer = new short[buffersize];         audiorecord recordinstance = new audiorecord(mediarecorder.audiosource.mic,                 44100, audioformat.channel_in_stereo, audioformat.encoding_pcm_16bit,                 buffersize);         recordinstance.startrecording(); 

correct me if i'm wrong, 2 microphones used when stereo recording supported on device

in 3 years experience of testing on tens of devices, have found never case.

the primary mic alone used both in mono , stereo recording in wide range of android devices have worked - low-cost mass models flagships.

one reason primary mic of better quality (more sensitive, less noisy, etc.) , costlier secondary mic.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -