[Vala] V4l2 - STREAMON Fails

2011-01-19 Thread Ervin
Hello, Anyone who have knowledge in using the V4l2 interface? Specifically someone who have worked on Webcam, with STREAMING capability, using vala? Heres the problem: I was able to setup my webcam with the help of sample in http://v4l2spec.bytesex.org/spec/a16706.htm. Everything was going smoot

[Vala] BUFSIZ

2010-11-23 Thread Ervin
Hello everyone. How can i use BUFSIZ from stdio.h? Thanks! ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Pseudo Terminal support in Vala

2010-11-09 Thread Ervin
Thanks Dr. Michael! :D On Tue, Nov 9, 2010 at 5:12 PM, Dr. Michael Lauer wrote: > Hi Ervin, > > have a look at how we do it in FSO's libfsotransport: > > > http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=libfsotransport/fsotransport/pty.vala;hb=

[Vala] Pseudo Terminal support in Vala

2010-11-09 Thread Ervin
Hello everyone, Anyone knows how to correctly open pseudo terminal in vala? All the references on the web talks about using ptsname() but all i can see in /usr/share/vala/vapi/linux.vapi is ptsname_r(). So my code goes like this: int masterfd; char[] slavedev = null; if ((masterfd = Posix.posi

Re: [Vala] Vala: Signal from POSIX

2010-10-19 Thread Ervin
Oh yeah, this works. I forgot to instantiate instance = this. :D Thanks Phil! On Wed, Oct 20, 2010 at 9:16 AM, Ervin wrote: > Yes that is what i would do if the PrintInterface permits me to do so since > the interface says: > > public void print_value(); > > note that the me

Re: [Vala] Vala: Signal from POSIX

2010-10-19 Thread Ervin
Check: public class Check : PrintInterface{ public static Check instance = null; } and calling the method as: Check.instance.print_value(); Hmm.. :( On Tue, Oct 19, 2010 at 5:46 PM, Phil Housley wrote: > On 19 October 2010 03:33, Ervin Orense Balaoro wrote: > > Yes, static varia

Re: [Vala] Vala: Signal from POSIX

2010-10-18 Thread Ervin Orense Balaoro
il Housley wrote: > On 18 October 2010 09:35, Ervin Orense Balaoro wrote: > > Hello, > > > > I dont know if this is the right place to ask questions regarding vala. > But > > anyway, ill post the question here just in case someone has the same > > experience i had w

[Vala] Vala: Signal from POSIX

2010-10-18 Thread Ervin Orense Balaoro
Hello, I dont know if this is the right place to ask questions regarding vala. But anyway, ill post the question here just in case someone has the same experience i had while working with vala using signal from posix. Code: public class Check{ ... public int x = 0; public open(){ ...