From 5d1828ee401156cede1d65257d59d66be281edd3 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Thu, 3 Nov 2016 08:55:30 -0700 Subject: [PATCH] MediaRecorder: Fix some audio source descriptions voice recognition: it is always available camcorder: "main microphone" doesn't mean anything communication: there is no requirement for this source to behave like the default preset. Test: make offline-sdk-docs Bug: 32451872 Change-Id: I1a2f196977e547feebb031a98b0f0e560f0557d5 --- media/java/android/media/MediaRecorder.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/media/java/android/media/MediaRecorder.java b/media/java/android/media/MediaRecorder.java index bd68fec5c411c..64576eca25169 100644 --- a/media/java/android/media/MediaRecorder.java +++ b/media/java/android/media/MediaRecorder.java @@ -236,18 +236,16 @@ public class MediaRecorder */ public static final int VOICE_CALL = 4; - /** Microphone audio source with same orientation as camera if available, the main - * device microphone otherwise */ + /** Microphone audio source tuned for video recording, with the same orientation + * as the camera if available. */ public static final int CAMCORDER = 5; - /** Microphone audio source tuned for voice recognition if available, behaves like - * {@link #DEFAULT} otherwise. */ + /** Microphone audio source tuned for voice recognition. */ public static final int VOICE_RECOGNITION = 6; /** Microphone audio source tuned for voice communications such as VoIP. It * will for instance take advantage of echo cancellation or automatic gain control - * if available. It otherwise behaves like {@link #DEFAULT} if no voice processing - * is applied. + * if available. */ public static final int VOICE_COMMUNICATION = 7;