As far as I can recall the problem with wave files is that they are
envelope for other formats. If I remember correctly they can contain just
about anything which codec are you looking to in code where are you going
to play the file you record?

-- 
Michael Banzon
http://michaelbanzon.com/
On Dec 5, 2012 7:36 PM, "bob" <[email protected]> wrote:

> Anyone know if any of these MediaRecorder.OutputFormat constants
> corresponds to a normal WAV file?  I want to record a WAV.
>
>
>     public final class OutputFormat {
>       /* Do not change these values without updating their counterparts
>        * in include/media/mediarecorder.h!
>        */
>         private OutputFormat() {}
>         public static final int DEFAULT = 0;
>         /** 3GPP media file format*/
>         public static final int THREE_GPP = 1;
>         /** MPEG4 media file format*/
>         public static final int MPEG_4 = 2;
>
>         /** The following formats are audio only .aac or .amr formats **/
>         /** @deprecated  Deprecated in favor of AMR_NB */
>         /** Deprecated in favor of MediaRecorder.OutputFormat.AMR_NB */
>         /** AMR NB file format */
>         public static final int RAW_AMR = 3;
>         /** AMR NB file format */
>         public static final int AMR_NB = 3;
>         /** AMR WB file format */
>         public static final int AMR_WB = 4;
>         /** @hide AAC ADIF file format */
>         public static final int AAC_ADIF = 5;
>         /** @hide AAC ADTS file format */
>         public static final int AAC_ADTS = 6;
>
>         /** @hide Stream over a socket, limited to a single stream */
>         public static final int OUTPUT_FORMAT_RTP_AVP = 7;
>
>         /** @hide H.264/AAC data encapsulated in MPEG2/TS */
>         public static final int OUTPUT_FORMAT_MPEG2TS = 8;
>     };
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to