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

Commit d609ca7f authored by James Dong's avatar James Dong
Browse files

Expose AMRNB/WB and AAC encoder and related file output formats - do not merge

bug - 3305667

Change-Id: I8f137af7f87cb010f75cae1777b9ec6b6af8214f
parent 3ce86481
Loading
Loading
Loading
Loading
+45 −1
Original line number Diff line number Diff line
@@ -87206,6 +87206,17 @@
 deprecated="not deprecated"
 visibility="public"
>
<field name="AAC"
 type="int"
 transient="false"
 volatile="false"
 value="3"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="AMR_NB"
 type="int"
 transient="false"
@@ -87217,6 +87228,17 @@
 visibility="public"
>
</field>
<field name="AMR_WB"
 type="int"
 transient="false"
 volatile="false"
 value="2"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="DEFAULT"
 type="int"
 transient="false"
@@ -87373,6 +87395,28 @@
 deprecated="not deprecated"
 visibility="public"
>
<field name="AMR_NB"
 type="int"
 transient="false"
 volatile="false"
 value="3"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="AMR_WB"
 type="int"
 transient="false"
 volatile="false"
 value="4"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="DEFAULT"
 type="int"
 transient="false"
@@ -224703,7 +224747,7 @@
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="t" type="T">
<parameter name="arg0" type="T">
</parameter>
</method>
</interface>
+6 −5
Original line number Diff line number Diff line
@@ -178,11 +178,12 @@ public class MediaRecorder

        /** The following formats are audio only .aac or .amr formats **/
        /** @deprecated  Deprecated in favor of AMR_NB */
        /** TODO: change link when AMR_NB is exposed. Deprecated in favor of MediaRecorder.OutputFormat.AMR_NB */
        /** Deprecated in favor of MediaRecorder.OutputFormat.AMR_NB */
        /** AMR NB file format */
        public static final int RAW_AMR = 3;
        /** @hide AMR NB file format */
        /** AMR NB file format */
        public static final int AMR_NB = 3;
        /** @hide AMR WB file format */
        /** AMR WB file format */
        public static final int AMR_WB = 4;
        /** @hide AAC ADIF file format */
        public static final int AAC_ADIF = 5;
@@ -208,9 +209,9 @@ public class MediaRecorder
        public static final int DEFAULT = 0;
        /** AMR (Narrowband) audio codec */
        public static final int AMR_NB = 1;
        /** @hide AMR (Wideband) audio codec */
        /** AMR (Wideband) audio codec */
        public static final int AMR_WB = 2;
        /** @hide AAC audio codec */
        /** AAC audio codec */
        public static final int AAC = 3;
        /** @hide enhanced AAC audio codec */
        public static final int AAC_PLUS = 4;