Saturday, October 1, 2011

[android-developers] Re: Faking Audio Recording from Microphone on Android NDK.

On Sep 29, 7:48 am, Ümit Uzun <umituzu...@gmail.com> wrote:
> I want to fake audio recording from main parts on Native Android
> sources. I have looked to AudioRecord.cpp, AudioFlinger.cpp and
> StageFrightRecorder.cpp.
> But I can't find the critical and target code block to change recorded
> audio buffer to silent or mixed meaningless audio buffer.

What do you mean by "fake audio recording"?

You can do real audio recording from the NDK using JNI to instantiate
and operate a java AudioRecord object. The source code you're looking
at is not part of the exposed NDK API so you are asking for trouble if
you try to dig around in there in your app.

Doug

--
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

No comments:

Post a Comment