Skip to content

Commit

Permalink
Make sure recroding is done in mono.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbnrst committed Feb 6, 2016
1 parent 69efeaa commit 381cde6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public void startRecording() {
mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
mRecorder.setOutputFile(mFilePath);
mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
mRecorder.setAudioChannels(1);

try {
mRecorder.prepare();
Expand Down

0 comments on commit 381cde6

Please sign in to comment.