To my knowledge WAV is just a container format and not an encoding. You 
would have to create your own WAV file containing the audio stream.

On Wednesday, December 5, 2012 12:35:05 PM UTC-6, bob 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

Reply via email to