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

Commit ca866987 authored by Srikanth Katta's avatar Srikanth Katta
Browse files

audio: Fix for LPCM surround sound recording

 - Format WAVE was defined as 10, which is getting
 over-ridden by format THREE_GPP2 (which holds value 10),
 because of which Media recorder failed for LPCM SSR.
 - Fix this by defining format WAVE to 11.

Change-Id: I4db84441b70b28da3579e2ff430b42b2711f9404
parent bd4d4e09
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -282,8 +282,12 @@ public class MediaRecorder

        /** @hide QCP file format */
        public static final int QCP = 9;

        /** @hide 3GPP2 media file format*/
        public static final int THREE_GPP2 = 10;

        /** @hide WAVE media file format*/
        public static final int WAVE = 10;
        public static final int WAVE = 11;
    };

    /**