Closed sreejith-1210 closed 4 months ago
If BCR produced an audio file for the failing instances, then this is very likely a bug in the audio drivers. BCR encodes every audio sample it receives from the AudioRecord
without modification. I'm actually quite surprised stereo recording works at all for you--I haven't seen a single device that supports that.
I unfortunately have no suggestions for how to troubleshoot the audio driver. It's not open source for many devices.
private static final int CHANNEL_CONFIG = android.media.AudioFormat.CHANNEL_IN_STEREO
The configuration I modified is functioning well on Samsung A04 and A05; however, it is encountering failures in approximately 10% of cases.
Call recording is functioning on only one channel after switching to CHANNEL_IN_STEREO. It works for 90% of the cases, but in 10% of instances, it fails. After downloading recording, only one side of the sound can be heard.