Which channel will be chosen when AudioFormat.CHANNEL_IN_MONO is set for AudioRecord in Android Apps? -
recently, use samsung sm-g7200 mobile phone record speech in android application. however, when use audioformat.channel_in_stereo, there no valid speech recorded in left channel audiorecord class.
maybe left channel broken down. when use audioformat.channel_in_mono, recorded speech valid. therefore, channel chosen when audioformat.channel_in_mono set audiorecord in android apps? in other words, how android know 1 channel available , broken down?
i have read android audiorecord source code, have not found answer. based on experience of our colleagues, if audioformat.channel_in_stereo available, average value of left channel , right channel can considered audio data in audioformat.channel_in_mono mode.
Comments
Post a Comment