I found no amr muxer in FSL OpenMAX implement on android 4.2.2; and no related lib file in /device/fsl_proprietary/codes/lib/.
Mp4 muxer is still used although I have specified the output format (AMR_NB or AMR_WB).
How to record ".amr" audio?
FSL OpenMAXIL does not implement amr muxer, so cannot create correct AMR file although
OutputFormat.AMR_NB is set in
In function GMRecorder::LoadMuxerComponent(), file: external/fsl_imx_omx/OpenMAXIL/src/client/GMRecorder.cpp,
gm_of (OutputFormat) is hard coded as default (muxer.mp4), so the record file content is always mp4.
However, the AMR file header should be "#!AMR\n" or "#!AMR-WB\n".