From 941136fd089d40a80d63fcaf99b4a0bdeb6e349c Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Wed, 18 Nov 2009 16:15:12 -0800 Subject: Fix bug 2271468 Update the javadoc for MediaRecorder.AudioSource to define how the two new audio sources behave when used on devices that don't support them. --- media/java/android/media/MediaRecorder.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/media/java/android/media/MediaRecorder.java b/media/java/android/media/MediaRecorder.java index 4203cba..15e35010 100644 --- a/media/java/android/media/MediaRecorder.java +++ b/media/java/android/media/MediaRecorder.java @@ -136,10 +136,12 @@ public class MediaRecorder /** Voice call uplink + downlink audio source */ public static final int VOICE_CALL = 4; - /** Microphone audio source with same orientation as camera */ + /** Microphone audio source with same orientation as camera if available, the main + * device microphone otherwise */ public static final int CAMCORDER = 5; - /** Microphone audio source tuned for voice recognition */ + /** Microphone audio source tuned for voice recognition if available, behaves like + * {@link #DEFAULT} otherwise. */ public static final int VOICE_RECOGNITION = 6; } -- cgit v1.1