On 9 November 2011 10:40, Micol lupen <galaxi_999 at yahoo.it> wrote:> Hi to all, > i am a university student, i have this problem, i want to create application for android this application must to record and listen ogg file, > i read that android use only ogg decoder for this problem i must use external library,wich library i can use ? can you show me some ?HowTo or book or site where i can study for use this library??for develop i use Debian squize 64 bit and Eclipse IndigoHi, I don't know much about Android, some quick googling shows that: 1. There is floating point support 2. It's slower on some hardware than others (some hardware FP some emulated FP) http://developer.android.com/guide/practices/design/performance.html http://stackoverflow.com/questions/3004915/getting-hardware-floating-point-with-android-ndk This is hopeful, because there isn't an integer encoder implementation I know of. You have two choices I think. Either 1. Use the NDK http://developer.android.com/sdk/ndk/overview.html to compile libvorbis and see the libvorbis encoder_example for how to do encoding. http://svn.xiph.org/trunk/vorbis/examples/encoder_example.c tie this in with the device's recording capability 2. Attempt to get vorbis-java to build and do the same thing http://downloads.xiph.org/releases/vorbis-java/ Depending on encoding speed on your target it may be necessary to record as wav and then encode afterwards. -- imalone
hi Ian thanks for your answer, i see this? http://downloads.xiph.org/releases/vorbis-java/ i think that this solution is good, because i want record for max 1 minute. I prefer use java library because i want insert this library in application, this?situation?is very important for me because ?In Android the media codecs are not guaranteed to be available on all platform. do you know example or how to use this library? best regads Antonio? ----- Messaggio originale ----- Da: Ian Malone <ibmalone at gmail.com> A: "vorbis at xiph.org" <vorbis at xiph.org> Cc: Inviato: Mercoled? 9 Novembre 2011 12:50 Oggetto: [Vorbis] (android) Re: Vorbis(ogg) and andorid On 9 November 2011 10:40, Micol lupen <galaxi_999 at yahoo.it> wrote:> Hi to all, > i am a university student, i have this problem, i want to create application for android this application must to record and listen ogg file, > i read that android use only ogg decoder for this problem i must use external library,wich library i can use ? can you show me some ?HowTo or book or site where i can study for use this library??for develop i use Debian squize 64 bit and Eclipse Indigo2. Attempt to get vorbis-java to build and do the same thing http://downloads.xiph.org/releases/vorbis-java/ Depending on encoding speed on your target it may be necessary to record as wav and then encode afterwards. -- imalone _______________________________________________ Vorbis mailing list Vorbis at xiph.org http://lists.xiph.org/mailman/listinfo/vorbis