Thanks for the reply ani. I am tracing the code flow of setAudioSource() from java layer to jni and to cpp.
After reaching at IMediaRecorder->setAudioSource() i can not trace the code further. I mean i couldn't find the code trace going in android_audio_output.cpp anyway. I know this is very weird question but please help me in this. Same is the case with setVideoSource. I can not trace where the mediaRecorder get Camera object. Please help. Thanks On Apr 5, 7:37 pm, ani <anish198519851...@gmail.com> wrote: > All your questions or answers should be posted in google developers > site.If you want you can cc to the specific people whom you want to > address. > So that people who are facing problem like yours can google it :) > > Answer for your question is : > > >Can anyone please tell me the location where the audioflinger, > >surfaceflinger and cameraservice talk toMediaRecorder'sAPIs? > > PV framework talks to audioflinger to supply the decoded audio > data.You can look > inhttp://android.git.kernel.org/?p=platform/external/opencore.git;a=tre... > > android_audio_output.cpp is the file which talks to audioflinger and > supplies the audio data. > > Regarding surfaceflinger and cameraservice i am not sure how they talk > to framebuffer driver.You can check the jni code and find out that. > Or someone has a better answer please share. -- 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 To unsubscribe, reply using "remove me" as the subject.