Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d1828ee authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

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
parent e80d16b5
Loading
Loading
Loading
Loading
+4 −6
Original line number Original line Diff line number Diff line
@@ -236,18 +236,16 @@ public class MediaRecorder
         */
         */
        public static final int VOICE_CALL = 4;
        public static final int VOICE_CALL = 4;


        /** Microphone audio source with same orientation as camera if available, the main
        /** Microphone audio source tuned for video recording, with the same orientation
         *  device microphone otherwise */
         *  as the camera if available. */
        public static final int CAMCORDER = 5;
        public static final int CAMCORDER = 5;


        /** Microphone audio source tuned for voice recognition if available, behaves like
        /** Microphone audio source tuned for voice recognition. */
         *  {@link #DEFAULT} otherwise. */
        public static final int VOICE_RECOGNITION = 6;
        public static final int VOICE_RECOGNITION = 6;


        /** Microphone audio source tuned for voice communications such as VoIP. It
        /** Microphone audio source tuned for voice communications such as VoIP. It
         *  will for instance take advantage of echo cancellation or automatic gain control
         *  will for instance take advantage of echo cancellation or automatic gain control
         *  if available. It otherwise behaves like {@link #DEFAULT} if no voice processing
         *  if available.
         *  is applied.
         */
         */
        public static final int VOICE_COMMUNICATION = 7;
        public static final int VOICE_COMMUNICATION = 7;