[android-porting] Simultaneous encode decode in stagefright

2011-07-06 Thread Sambhav
Hi, From a native app is it possible to do simultaneous encode and decode in stagefright ? Regards, Sambhav -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] Re: how to remove audio service form android.

2011-01-12 Thread Sambhav
AudiopolicyService is started in frameworks\base\media\mediaserver\main_mediaserver.cpp int main(int argc, char** argv) { spProcessState proc(ProcessState::self()); spIServiceManager sm = defaultServiceManager(); LOGI(ServiceManager: %p, sm.get()); AudioFlinger::instantiate();

Re: [android-porting] Re: Audio Track Latency Measurement

2010-12-01 Thread Sambhav
: I Sambhav. I have this same question regarding the buffering. What I can say is that I think the reason that the second term is bigger than the first is because the mFrameCount can be 4 times the size of the driver's output buffer (or a little bit more). mFrameCount is calculated

Re: [android-porting] Alsa + audioflinger latency for audio when playing over AudioTrack + MODE_STREAM

2010-11-29 Thread Sambhav
I am facing the same latency issues using the using AudioTrack. Ben, were you able to solve the latency issue ? Regards, Sambhav On Sat, Sep 11, 2010 at 2:57 AM, Ben Friedberg ben.friedb...@gmail.comwrote: We are experiencing a great deal of latency on our device using the SipDroid SIP

[android-porting] Audio Track Latency Measurement

2010-11-29 Thread Sambhav
from the alsa driver. The second part of the equation is significantly a big number. Does anyone know how AudioFlinger/AudioTrack is adding to the latency ? How buffering is done at the framework level before giving it to the drivers ? Regards, Sambhav -- unsubscribe: android-porting+unsubscr

[android-porting] Audio Playout Delay

2010-11-18 Thread Sambhav
Hi, I am using AudioTrack c++ API to play audio in my system. There is a latency of around 350ms. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Audio Playout Delay

2010-11-18 Thread Sambhav
framework ? Regards, sambhav -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] pthread_attr_setinheritsched support in Android

2010-11-11 Thread Sambhav
not run real time. What is the reason for not supporting this feature and is there any way in which this can be enabled ? Is there any other way in which thread priority can be reflected in Android ? Regards, Sambhav -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http

[android-porting] mm Android.mk clean

2010-07-02 Thread Sambhav
' How can I call a clean the previous build and run it again just like make clean all. Regards, Sambhav -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] please help me,to know about android..

2010-06-10 Thread Sambhav
this can help you i guess http://betelco.blogspot.com/2010/01/buildingdebugging-android-native-c.html On Thu, Jun 10, 2010 at 10:22 AM, vinodhini prakash vinoms...@gmail.comwrote: I need to know,how to run a c++ program in the android emulator...i could run only i the eclipse console,but i

[android-porting] Device Driver access via native functions called via JNI

2010-05-11 Thread Sambhav
Hi All, I have a JavaClass which calls native C function via JNI. Can these C function access the device drivers directly ? Ex. I want to access /dev/video1 from the C function called via JNI. (This failed) However in native C application I was able to access /dev/video1 Regards, sambhav

Re: [android-porting] Device Driver access via native functions called via JNI

2010-05-11 Thread Sambhav
How and where should I give permissions ? On Tue, May 11, 2010 at 12:09 PM, Ranganath s rangana...@gmail.com wrote: I guess yo need to give some permissions.. -Ranganath.S On Tue, May 11, 2010 at 12:07 PM, Sambhav isamb...@gmail.com wrote: Hi All, I have a JavaClass which calls

Re: [android-porting] Re: Building in Debug Mode and Native Debugging

2010-05-11 Thread Sambhav
. For more information about Android Build system, please refer below link. http://pdk.android.com/online-pdk/guide/build_system.html On May 10, 9:29 pm, Sambhav isamb...@gmail.com wrote: Hi All, How to do build complete android source code in debug mode? Also how to do native

Re: [android-porting] porting liboverlay

2010-05-10 Thread Sambhav
liboverlay.so, it will work or not.. On Fri, May 7, 2010 at 7:18 PM, Sambhav isamb...@gmail.com wrote: Hi, By default overlay module at *hardware\libhardware\modules\overlay* is a skeleton implementation. I am calling the V4L2 driver calls from these functions. I have build the module

[android-porting] Building in Debug Mode and Native Debugging

2010-05-10 Thread Sambhav
Hi All, How to do build complete android source code in debug mode? Also how to do native application debugging using gdb ? Regards, Sambhav -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] porting liboverlay

2010-05-07 Thread Sambhav
* to use the services from *liboverlay.so *created above. Regards, Sambhav -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Video window and OSD window in OMAP3530

2010-05-04 Thread Sambhav
the Surface information it accordingly renders video in the region defined by the Surface. i.e like punching a hole in the surface and render the video. Overlay module makes direct V4L2 calls. Is my understanding correct ? Regards, Sambhav -- unsubscribe: android-porting+unsubscr...@googlegroups.com