summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2009-11-18 16:15:12 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2009-11-18 16:15:12 -0800
commit941136fd089d40a80d63fcaf99b4a0bdeb6e349c (patch)
tree6a6aa3a3cc4e6992b1f64da9882baf1229f488da
parent1d62ea9d8c2646d198b6967e2c6ae3dad5c18f9e (diff)
downloadframeworks_base-941136fd089d40a80d63fcaf99b4a0bdeb6e349c.zip
frameworks_base-941136fd089d40a80d63fcaf99b4a0bdeb6e349c.tar.gz
frameworks_base-941136fd089d40a80d63fcaf99b4a0bdeb6e349c.tar.bz2
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.
-rw-r--r--media/java/android/media/MediaRecorder.java6
1 files 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;
}