There are no public classes for decoding AMR to raw PCM. 3GPP is just
a thin wrapper around the raw AMR stream.

On Mar 13, 4:01 pm, benmccann <[email protected]> wrote:
> Any ideas on the easiest way to get the raw data from a file recorded
> by the MediaRecorder class?  I am going to have to pull up the RFC and
> parse the file myself or is there some existing Java/Android class I
> can use that recognizes the file format and will give me access to the
> raw decoded data?
> Also, what's the relationship between AMR and 3GPP?  Is one basically
> wrapping the other with a few extra file headers?
> When recording I set the following:
>     recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
>     recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
>
> Thanks,
> Ben
--~--~---------~--~----~------------~-------~--~----~
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