If I have an original audio frame in Android, how to encode it using AMR or AAC?

417 Views Asked by At

If I have an original audio frame in Android, how to encode it using AMR AAC, or any other encoder?

1

There are 1 best solutions below

1
On

You mean something like this?

// Specify the audio and video encoding
mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);

developer.android.com/reference/android/media/MediaRecorder