Do AAC encoded files have always the same audio data in 2 channels?

150 views Asked by At

I am developing an Android application which uses a MediaRecorder instance that records audio from the microphone. The output format is set to MediaRecorder.OutputFormat.AAC_ADTS, the audio encoder is MediaRecorder.AudioEncoder.AAC, and the audio channels are set to 2.

The recorded sound is saved into a file. To read the PCM data, I use the JAAD library. I save the PCM data in a 2D array called channels: channels[0] holds the data from channel 1, and channels[1] from channel 2. The data from the two 1D arrays are 100% equal.

I am wondering why that happens. Does this happen always, i.e. it's not phone-depended?

P.S. I also tried opening the file with the pydub library. I got the same results.

0

There are 0 answers