Wednesday, April 17, 2013

[android-developers] Converting PCM to AMR-WB using AmrInputStream

My Android application needs to convert recorded audio in WAV to AMR-NB and AMR-WB. And i am done with converting to AMR-NB using AmrInputStream.

In AmrInputStream, the value for SAMPLES_PER_FRAME is hard coded to 8000 * 20 / 1000 and the audio has no changes even after changing SAMPLES_PER_FRAME to (16000*20/1000).

Is it possible to convert PCM to AMR-WB (16 khz) using AmrInputStream ?

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment