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.
and Magic is that in phonesessionclient.cc same calls are getting
failed and back again after that in callclient.cc ioctl() calls
succedded. If anyone has any guesses about please reply....

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...
--
...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama    Hare Rama   Rama   Rama    Hare Hare ||
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to