I have PCM
audio data with sample rate 48000, I want to encode audio to AAC
with sample rate 44100? Is it possible to do so with MediaCodec
?
Asked
Active
Viewed 580 times
8

Taras
- 2,526
- 3
- 33
- 63
1 Answers
0
I'm afraid that MediaCodec
API doesn't support resampling (to this day). You would need to either do this manually or use a library (e.g. Oboe, Sonic).

dev.bmax
- 8,998
- 3
- 30
- 41