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

400 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 answers

1
Komi On

You mean something like this?

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

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