Thanks for answering but i don't understand "call that with your audio data"... That's just what I'd like to do but i don't know how. The function u8*dsp_dtmf_goertzel_decode(struct dsp *dsp, u8 *data, int len, int fmt) receives "struct dsp" and "u8 *data" but how can i transform my amr file into those objects ?
I thought about using GNI in order to use this fonction programming in language C with Eclipse. Do you know how to do that ? Thanks again On 5 mai, 23:56, "Yusuf T. Mobile" <yusuf.s...@t-mobile.com> wrote: > As you are probably aware, this is not part of the public SDK API, so > it's not supported for app developers, it may break with future > versions, etc. > > That being said, dsp_dtmf.c has a function with a decent amount of > (entertainingly spelled) comments called "dsp_dtmf_goertzel_decode". > Call that with your audio data. > > Yusuf Saib > Android > ·T· · ·Mobile· stick together > The views, opinions and statements in this email are those of the > author solely in their individual capacity, and do not necessarily > represent those of T-Mobile USA, Inc. --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---