try improving the recording quality

This commit is contained in:
tibbi 2020-04-17 22:57:26 +02:00
parent 02a846fb8e
commit 244250cc2b
1 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,8 @@ class RecorderService : Service() {
setAudioSource(MediaRecorder.AudioSource.CAMCORDER)
setOutputFormat(MediaRecorder.OutputFormat.MPEG_4)
setAudioEncoder(MediaRecorder.AudioEncoder.AAC)
setAudioEncodingBitRate(128000)
setAudioSamplingRate(44100)
try {
if (!isQPlus() && isPathOnSD(currFilePath)) {