Commit graph

8 commits

Author SHA1 Message Date
Sean McNamara
13d1928f3e vala: ChannelMap has no destroy function. 2011-03-31 11:08:47 +01:00
Alexander Kurtz
9defe846e7 vala: move GLibMainLoop class into separate file to fix linker errors
Vala uses the name of the *.vapi file to determine the libraries to link
against. Since the pa_glib_mainloop_*() functions are in a separate
library (libpulse-mainloop-glib.so) the corresponding objects in the
Vala bindings have to be in a separate *.vapi file.

If you are compiling an app without the GLib integration you could use:
 $ valac --pkg=libpulse test.vala
but if you do use GLib you can use:
 $ valac --pkg=libpulse-mainloop-glib test.vala
(libpulse is a dep of the libpulse-mainloop-glib so no need to specify
it explicitly)
2011-03-26 11:26:57 +00:00
Sean McNamara
f5d2c33e86 vala: delegate FreeCb does not have a target. 2011-03-25 09:14:45 +00:00
Alexander Kurtz
705cf4d316 vala: Some bugfixes for the vala bindings
1. PA uses Vala's "Posix" package (see line 23 of libpulse.vapi).
    These dependencies have to be declared in the *.deps file.

 2. Fix obvious copy/paste error.

 3. Rename the parameter to match the C function. This simplifies
    understanding what this parameter means.

 4. According to the official documentation the "dev" parameter
    for playback/capture streams on connection may be NULL and this
    is the default. Change the method definition accordingly.
2011-03-24 21:43:29 +00:00
Lennart Poettering
534def2d2b vala: fix wrapping of port setting calls 2010-02-21 17:48:39 +01:00
Lennart Poettering
c25665ed10 vala: fix definition of the GLib mainloop adapter 2010-02-21 17:48:24 +01:00
Lennart Poettering
57e0e2cdab vala: fix definition of INVALID_INDEX 2010-02-21 17:48:20 +01:00
Lennart Poettering
ab6ed0683f vala: install .vapi file by default 2009-09-19 01:55:46 +02:00