Currently, in Android, audio is recorded in AAC ADTS format, which has a sampling rate of 8khz (which is too low for my use case). Android, however, supports other formats for audio recording.
Feature Description
There should be a way to specify both the output format and audio encoder when recording audio. If those are not specified, then it uses default values (AAC ADTS).
Alternatives or Workarounds
I had to create a fork to change the output format to AMR WB (which has greater quality).
Feature Request
Motivation Behind Feature
Currently, in Android, audio is recorded in AAC ADTS format, which has a sampling rate of 8khz (which is too low for my use case). Android, however, supports other formats for audio recording.
Feature Description
There should be a way to specify both the output format and audio encoder when recording audio. If those are not specified, then it uses default values (AAC ADTS).
Alternatives or Workarounds
I had to create a fork to change the output format to AMR WB (which has greater quality).