[android-porting] Re: aplay.c

2009-05-19 Thread Ravishankar Haranath
sa-utils/aplay/aplay.c:2292: warning: overflow in implicit > > > constant conversion > > > external/alsa-utils/aplay/aplay.c:2295: warning: comparison is always > > > true due to limited range of data type > > > external/alsa-utils/aplay/aplay.c:2349: warning: c

[android-porting] Re: What does /system/bin/vold do?

2009-05-19 Thread Ravishankar Haranath
What does the /system/bin/vold do? > > Elvis > > > -- Ravishankar Haranath http://www.linmaya.net We should be taught not to wait for inspiration to start a thing. Action always generates inspiration. Inspiration seldom generates

[android-porting] Re: ALSA BOOTUP ERROR !!!

2009-05-20 Thread Ravishankar Haranath
function > snd_config_hook_load returned error: It > E/ALSALib ( 1848): external/alsa-lib/src/conf.c:3079:(snd_config_update_r) > hooks failed, removing configuration > E/AudioHardwareALSA( 1848): Unable to attach mixer to device default: > Invalid argument > > > > -- > Best

[android-porting] Re: ALSA on x86 - No sound

2009-06-07 Thread Ravishankar Haranath
> > Invalid >> > > > CTL hw:00 >> > > > E/AudioHardwareALSA( 691): Unable to attach mixer to device >> default: >> > > File >> > > > exists >> > >> > > > Please help me what i am misisng. ? >

[android-porting] Re: ALSA buffer size

2009-06-22 Thread Ravishankar Haranath
my platform and i need to set the buffer... > > Android would like a buffer of 16384 and i have one of 2048... So i > have to hack a test and the sound is really bad... > > someone know where is the buffersize set? > > thanks > > > -- R

[android-porting] Re: ALSA on x86 - No sound

2009-06-23 Thread Ravishankar Haranath
Playback channels: Mono > > > > > Limits: Playback 0 - 13 > > > > >[1] Segmentation faultalsa_mixer -c 0 > > > > > > > When I set the Audible selection on settings of UI, the logcat > message > > > > > will show > > > > > E/MediaPlayer: Unable to to create media player. > > > > > > > That's all for my test that I can do it what I know. > > > > > Could you give me some suggestion? > > > > > > > Thanks in advance again. > > > > > Best Regards, > > > > > ehung > > > > > > > On 16 Giu, 15:56, Androidphan wrote: > > > > > > > > If you give some more information on your soundcard, errors, > logcat > > > > > > etc. > > > > > > We can't do anything with more information. > > > > > > > > On Jun 16, 9:22 am, ehung wrote: > > > > > > > > > Hi Luca. > > > > > > > I have follow your tips on wiki to implmentalsafunction. > > > > > > > I have built the libaudio.so, alsa_ctl, alsa_amixer and > alsa_aplay on > > > > > > > android system. > > > > > > > I use a aplayer application to test thealsafunction, but the > audio > > > > > > > still not work. > > > > > > > Could you give me some suggestion? > > > > > > > Thank in advance. > > > > > > > > > Best Regards, > > > > > > > ehung > > > > > > > > > On 12 Giu, 17:03, Luca Belluccini > wrote: > > > > > > > > > > > http://code.google.com/p/patch-hosting-for-android-x86-support/wiki/A... > > > > > > > > - Mostra testo citato -- Nascondi testo citato > > > > > > - Mostra testo citato -- 隱藏被引用文字 - > > > > - 顯示被引用文字 - > > > -- Ravishankar Haranath http://www.linmaya.net --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: V4L2 Camera interface

2009-06-24 Thread Ravishankar Haranath
t;> > > > frameworks/base/camera/libcameraservice/CameraHardware.cpp:162: >> > > > > >> error: >> > > > > >> > > > > 'android::status_t >> android::CameraHardware::startRecording' is >> > > > not >> > > > > >> a >> > > > > >> > > static >> > > > > >> > > > > member of 'class android::CameraHardware' >> > >> > > > frameworks/base/camera/libcameraservice/CameraHardware.cpp:162: >> > > > > >> error: >> > > > > >> > > > > 'recording_callback' was not declared in this scope >> > >> > > > frameworks/base/camera/libcameraservice/CameraHardware.cpp:162: >> > > > > >> error: >> > > > > >> > > > > expected primary-expression before 'void' >> > >> > > > frameworks/base/camera/libcameraservice/CameraHardware.cpp:162: >> > > > > >> error: >> > > > > >> > > > > initializer expression list treated as compound >> expression >> > >> > > > frameworks/base/camera/libcameraservice/CameraHardware.cpp:163: >> > > > > >> error: >> > > > > >> > > > > expected ',' or ';' before '{' token >> > > > > >> > > > > make: *** >> > >> > > > >> [out/target/product/beagle/obj/SHARED_LIBRARIES/libcamera_intermediates/Cam >> > > > > >> > > eraHardware.o] >> > > > > >> > > > > Error 1 >> > >> > > > > >> > > > > I also attach my Android.mk file. >> > >> > > > > >> > > > > Thanks and Regards, >> > > > > >> > > > > HarishKumar.V >> > >> > > > > >> > > > > On Tue, Jun 23, 2009 at 4:16 PM, Androidphan < >> > > > > >> niels.kee...@tass.nl> >> > > > > >> > > wrote: >> > >> > > > > >> > > > >> Was it useful? >> > >> > > > > >> > > > >> On Jun 21, 3:45 pm, Harishkumar V < >> harishpres...@gmail.com> >> > > > > >> wrote: >> > > > > >> > > > >> > Hi AndroidPlan, >> > >> > > > > >> > > > >> > Can u update the latest source and share or attach >> it. >> > >> > > > > >> > > > >> > Thanks and Regards, >> > > > > >> > > > >> > HarishKumar.V >> > >> > > > > >> > > > >> > On Wed, Jun 17, 2009 at 1:46 PM, Androidphan < >> > > > > >> niels.kee...@tass.nl> >> > > > > >> > > > >> wrote: >> > >> > > > > >> > > > >> > > A bit late, but that solved it. >> > >> > > > > >> > > > >> > > I converted my YUYV to rgb 565 and it worked. >> > >> > > > > >> > > > >> > > On May 13, 5:11 pm, Steve Fischer < >> steve2...@gmail.com> >> > > > > >> wrote: >> > > > > >> > > > >> > > > If you are producing RGB565 frames in your >> > > > > >> > > CameraHardwareInterface >> > > > > >> > > > >> > > > implementation, then you will likely need to >> make a >> > > > format >> > > > > >> > > change in >> > > > > >> > > > >> > > > the >> > > > > >> "framework/base/camera/libcameraservice/CameraService.cpp" >> > > > > >> > > file. >> > > > > >> > > > >> > > > Specifically, in the "startPreview" function, >> the >> > > > preview >> > > > > >> frame >> > > > > >> > > > >> format >> > > > > >> > > > >> > > > is hardcoded to "YCbCr_420_SP", as in: >> > >> > > > > >> > > > >> > > > mSurface->registerBuffers(w, h, w, h, >> > > > > >> > > > >> > > > PIXEL_FORMAT_YCbCr_420_SP, ... ); >> > >> > > > > >> > > > >> > > > You will need to change this hardcoded value to >> match >> > > > the >> > > > > >> pixel >> > > > > >> > > > >> format >> > > > > >> > > > >> > > > of the frames you are producing. I think in >> there are >> > > > only >> > > > > >> a >> > > > > >> > > couple >> > > > > >> > > > >> > > > of supported format choices. I believe >> "RGB_565" is >> > > > > >> supported. >> > > > > >> > > > >> Give >> > > > > >> > > > >> > > > it a try. >> > >> > > > > >> > > > >> > > > Steve. >> > >> > > > > >> > > > >> > > > On May 13, 8:21 am, blindfold < >> > > > seeingwithso...@gmail.com> >> > > > > >> > > wrote: >> > >> > > > > >> > > > >> > > > > Don't know why the Android team dropped color >> preview >> > > > > >> from the >> > > > > >> > > > >> > > > > emulator with recent SDKs. Color preview was >> still >> > > > > >> present and >> > > > > >> > > > >> fully >> > > > > >> > > > >> > > > > functional in the SDK M5 RC15 emulator, but >> then it >> > > > > >> stopped >> > > > > >> > > > >> working as >> > > > > >> > > > >> > > > > of SDK 0.9 beta even though the color info is >> still >> > > > in >> > > > > >> the >> > > > > >> > > preview >> > > > > >> > > > >> > > > > callback data[] with the moving checkerboard. >> See my >> > > > > >> issue 822... >> > >> > read more >> >> >> > > > > -- Ravishankar Haranath http://www.linmaya.net --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: Compile problem after repo sync.

2009-04-29 Thread Ravishankar Haranath
aps.xml' > > > > > I guess I have something f'ed up in terms of I checked out cupcake > > > branch, and now I am trying to get something from the main branch or > > > something. > > > > > Do I

[android-porting] Re: Cursor.patch fails

2009-05-04 Thread Ravishankar Haranath
k #1 applied cleanly. > > Hunk #2 applied cleanly. > > Hunk #3 applied cleanly. > > Hunk #4 applied cleanly. > > Hunk #5 applied cleanly. > > Hunk #6 applied cleanly. > > Hunk #7 applied cleanly. > > Hunk #8 applied cleanly. > > Hunk #9 applied clea

[android-porting] Re: Cursor.patch fails

2009-05-05 Thread Ravishankar Haranath
dr.patch" there is no project descriptor, So do not know where to > go ? > > Cheers > > Varadarajan > > www.thinteknix.com > Ottawa > Canada > > > > On May 5, 2:49 am, Ravishankar Haranath wrote: > > Both the patches got applied p

[android-porting] Re: Compile error (no com.google.android.maps.xml)

2009-05-05 Thread Ravishankar Haranath
aps.xml'. Stop. > > It seems the recent change in build/target/product/ > generic_with_google.mk causes this problem. > A temporary solution is to remove PRODUCT_COPY_FILES in it. > > > >

[android-porting] Re: ALSA + Android -Problem

2009-05-11 Thread Ravishankar Haranath
lsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid > CTL hw:00 > E/AudioHardwareALSA( 1868): Unable to attach mixer to device default: No > such file or directory > > > > > -- > Best Regards, > Rajesh > > > > -- Ravishankar Haranath http

[android-porting] Re: ALSA + Android -Problem

2009-05-12 Thread Ravishankar Haranath
t; > >> > Could anyone tell me what is this "alsa_ctl", I'm not seeing any such >> > binary or file in my system >> > >> > Best Regards, >> > Rajesh N >> > >> > >> > >> > On Tue, May 12, 2009 at 1

[android-porting] Re: Run Android with Eee PC resolution using grub2+915resolution

2009-05-12 Thread Ravishankar Haranath
like sed and cut. > > >>Without them it's hard to write useful scripts. > > >>So I may have to add the necessary utilities to toolbox first. > > >> 2. Add a prebuilt, static linked busybox with all utilities I need to > > >> ramdisk. > &

[android-porting] Re: ALSA proble

2009-05-15 Thread Ravishankar Haranath
e: > > > > > What are your errors on logcat? > > > > > On May 15, 4:03 am, "xhor...@gmail.com" wrote: > > > > > > Hi All, > > > > I had tried the ALSA so long on Andriod, but it still can't work > > > > as