2 messages in com.googlegroups.google-talk-openPhoneSessionClient.cc Causing failure...
FromSent OnAttachments
swapnil kamble01 Jan 2008 02:56 
swapnil04 Jan 2008 01:56 
Subject:PhoneSessionClient.cc Causing failure of ioctl() call [error code EINVAL]
From:swapnil kamble (swap@gmail.com)
Date:01/01/2008 02:56:37 AM
List:com.googlegroups.google-talk-open

Hi,

I have ported libjingle on my mobile. I am using only OSS. ioctl calls for OSS i.e. by soundacard.h are giving problem. After debugging I found that before creation of PhoneSesssionClient in InitPhone() were successsful. But just after when PhoneSessionClient gets created , in that constructor itself and onwards all ioctl() calls are getting failed.

Following are some of ioctl calls . /* Set sample bit */ arg = SIZE; status = ioctl(fd, SOUND_PCM_WRITE_BITS, &arg); if (status == -1) perror("SOUND_PCM_WRITE_BITS ioctl failed"); if (arg != SIZE) perror("unable to set sample size");

If anyone has any idea about its solution, please reply... Thanks in advance...

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare Rama Hare Rama Rama Rama Hare Hare ||