Cheers for the reply & the commit!<br><br>Its a help anyway, I was at 12 errors, now down to 6 errors. (+ 5 warnings).<br>All the errors seem to be of the same kind. (Something due to accessing array[2] ?)<br><br>I've never written a .vapi and dont really understand all the fancy tricks you do...<br>
So best job is probably to post the error output after running the command..<br><br>command: valac --pkg jack main.vala   // my main.vala is just a single printf statement, no JACK code<br><br>jack.vapi:48.36-48.44: error: syntax error, no expression allowed between array brackets<br>
        public int get_aliases(ref string[2] aliases);<br>                                   ^^^^^^^^^<br>jack.vapi:48.36-48.44: error: syntax error, no expression allowed between array brackets<br>        public int get_aliases(ref string[2] aliases);<br>
                                   ^^^^^^^^^<br>jack.vapi:270.41-270.47: error: syntax error, no expression allowed between array brackets<br>        public void get_read_vector(ref Data[2] vec);<br>                                        ^^^^^^^<br>
jack.vapi:270.41-270.47: error: syntax error, no expression allowed between array brackets<br>        public void get_read_vector(ref Data[2] vec);<br>                                        ^^^^^^^<br>jack.vapi:271.42-271.48: error: syntax error, no expression allowed between array brackets<br>
        public void get_write_vector(ref Data[2] vec);<br>                                         ^^^^^^^<br>jack.vapi:271.42-271.48: error: syntax error, no expression allowed between array brackets<br>        public void get_write_vector(ref Data[2] vec);<br>
                                         ^^^^^^^<br><br><br><br><div class="gmail_quote">On Sat, Jun 26, 2010 at 10:25 PM, alberto colombo <span dir="ltr"><<a href="mailto:vala@albx79.it">vala@albx79.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
I created a bug to track progress on Jack bindings:<br>
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=576777" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=576777</a>. I have just committed<br>
the latest version I had on my HD (dated November 2009), which should<br>
fix quite a few bugs compared to the version in that email.<br>
<br>
Please note that I didn't have the means or the time to test all the<br>
bindings, therefore expect some memory errors on some functions I<br>
haven't used. It gives plenty of warning now (it should be updated for<br>
vala 0.9), but it should compile.<br>
<br>
Also, the binding are for version 0.116. If you need features from<br>
0.118, they'll have to be added.<br>
<br>
Regards<br>
Alberto<br>
<div><div></div><div class="h5"><br>
On Sat, 2010-06-26 at 16:04 +0100, Harry Van Haaren wrote:<br>
> Hey all,<br>
><br>
> I'm learning Vala at the moment, primarily with the intention to develop<br>
> apps<br>
> which support JACK audio output. I'm gonna work towards GStreamer based<br>
> audio routing, and JACK Transport to Start/Stop my app.<br>
><br>
> For the while, I hope to have a play around with JACK using Vala. So I went<br>
> looking for bindings and found the following:<br>
> <a href="http://www.mail-archive.com/vala-list@gnome.org/msg02266.html" target="_blank">http://www.mail-archive.com/vala-list@gnome.org/msg02266.html</a><br>
><br>
> I've read the replies, installed Jack.vapi into /usr/share/vala/vapi<br>
> but I cant seem to get rid of some certain errors whenever I compile.<br>
><br>
> Are others using this binding successfully?<br>
> Any tips / info I should know about when using Jack & Vala?<br>
> Cheers, -Harry<br>
</div></div>> _______________________________________________<br>
> vala-list mailing list<br>
> <a href="mailto:vala-list@gnome.org">vala-list@gnome.org</a><br>
> <a href="http://mail.gnome.org/mailman/listinfo/vala-list" target="_blank">http://mail.gnome.org/mailman/listinfo/vala-list</a><br>
<br>
<br>
</blockquote></div><br>