From 170fbf0de36c0e366a188ac5f01cce8f2db4e9e6 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 11 May 2018 10:08:45 +0200 Subject: [PATCH] switch to aac with slightly heigher sample and bit rate. fixes #3021 --- .../java/eu/siacs/conversations/ui/RecordingActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java b/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java index 69b97bf5f..88c40da9a 100644 --- a/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java @@ -87,9 +87,9 @@ public class RecordingActivity extends Activity implements View.OnClickListener mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); - mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.HE_AAC); - mRecorder.setAudioEncodingBitRate(48000); - mRecorder.setAudioSamplingRate(16000); + mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); + mRecorder.setAudioEncodingBitRate(96000); + mRecorder.setAudioSamplingRate(22050); setupOutputFile(); mRecorder.setOutputFile(mOutputFile.getAbsolutePath());