diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-05-17 20:43:28 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-05-17 20:43:28 +0200 |
commit | 3317246086142c339ca41e2d6776b5363322f4e1 (patch) | |
tree | d417b3f84cf2070a2de6387385ef40d304352e6c /src/main/java/de/pixart/messenger/ui | |
parent | ebf64ec78df62195b8e8c5e64b9b7c55037c5cdc (diff) |
increase sample and bit rate for voice recording
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/RecordingActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/RecordingActivity.java b/src/main/java/de/pixart/messenger/ui/RecordingActivity.java index 545acd197..15d193886 100644 --- a/src/main/java/de/pixart/messenger/ui/RecordingActivity.java +++ b/src/main/java/de/pixart/messenger/ui/RecordingActivity.java @@ -86,8 +86,8 @@ public class RecordingActivity extends Activity implements View.OnClickListener mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); - mRecorder.setAudioEncodingBitRate(48000); - mRecorder.setAudioSamplingRate(16000); + mRecorder.setAudioEncodingBitRate(96000); + mRecorder.setAudioSamplingRate(22050); setupOutputFile(); mRecorder.setOutputFile(mOutputFile.getAbsolutePath()); |