jac:
I found this:android.media.MediaRecorder.AudioEncoder.AMR_NB
is this what you want?

tainy

On 4月22日, 上午4时53分, j <[email protected]> wrote:
> I would like to use the new AudioRecord class to record in AMR-NB
> format.  But android.media.AudioFormat provides only 8-bit PCM and 16-
> bit PCM options, no AMR-NB option for some reason.
>
> I have also looked into MediaRecorder class.  My understanding is that
> while MediaRecorder supprots recording to AMR-NB format, MediaRecorder
> can only write to a file (not to a network stream).   It seems I need
> to use the AudioRecord class but it doesn't seem to support AMR-NB.
>
> Please shed some light!  Thanks!
--~--~---------~--~----~------------~-------~--~----~
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