[android-developers] Re: MediRecorder query
check this file libmediaplayerservice/MediaRecorderClient.cpp. This client i guess gets called by libmediaplayerservice/ MediaPlayerService.cpp file which gets the object of MediaRecorderClient. In this file(MediaRecorderClient.cpp) we are creating the object of PV media and passing it to user to set the audio source for recording. This file has this call MediaRecorderClient::setAudioSource for setting the audio source. This call in-turn goes to PV framework(external/opencore/android) for setting the audio source. How your call IMediaRecorder-setAudioSource is mapped to MediaPlayerService.cpp file is left as an exercise for you. -- 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.
[android-developers] Re: MediRecorder query
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.
[android-developers] Re: MediRecorder query
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 to MediaRecorder's APIs? PV framework talks to audioflinger to supply the decoded audio data.You can look in http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree;f=android;h=6bbe69f1324e6cf809375cd0ffba01547f5f7bee;hb=HEAD 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.
[android-developers] Re: MediRecorder query
Is there any relation between MediaRecorder and AudioRecord? AudioRecord-for applications which require audio processing. Media recorder- for applications which just wants to record audio by using platform default values. It would be better if someone from android team can shed more light on this??? -- 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.
[android-developers] Re: MediRecorder query
Is there any relation between MediaRecorder and AudioRecord? AudioRecord-for applications which require audio processing. Media recorder- for applications which just wants to record audio by using platform default values. It would be better if someone from android team can shed more light on this??? -- 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.