Commit Graph

21 Commits

Author SHA1 Message Date
David Hewitt
eb1c694874 Remove active_profile 2018-10-17 17:12:29 +00:00
David Hewitt
07ce79c757 vala: add pa_card_port_info bindings 2018-10-17 10:09:55 +00:00
David Hewitt
6c21a5678b vala: Fix card profile array bindings 2018-10-15 09:15:15 +00:00
David Hewitt
dc65a03454 vala: Fix lengths for source/sink port arrays 2018-05-07 17:30:56 +03:00
wellington wallace
f8abe975ab vala: fix a struct field name and add missing source output volume/mute functions 2018-04-26 14:34:48 +03:00
Corentin Noël
94f32ebfcd vala: use the correct syntax
Constants should be declared simply with "const". With struct members,
"static" means that all struct instances share the same variable, i.e.
all instances always see the same value. That's of course already
implied in the concept of "constant". Newer Vala versions don't allow
mixing "const" and "static".
2017-01-19 03:00:45 +02:00
Marcin Lewandowski
81d3eb8467 vala: Added cnames to callback delegates in Vala VAPI 2016-01-22 13:25:29 +05:30
Ondrej Holecek
5effc83479 update FSF addresses to FSF web page
FSF addresses used in PA sources are no longer valid and rpmlint
generates numerous warnings during packaging because of this.
This patch changes all FSF addresses to FSF web page according to
the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html

Done automatically by sed-ing through sources.
2015-01-14 22:20:40 +02:00
Ricardo Salveti de Araujo
4d9437d78a vala: adding missing fields for sink_input/source_output info struct
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
2014-10-19 13:36:05 +03:00
Alexander Kurtz
43b6a67fa8 vala: Add bindings for libpulse-simple 2014-04-17 15:28:24 +03:00
Tanu Kaskinen
9813ada2ec vala: Add CVolume.set()
Thanks to Alberto Ruiz for the patch.
2013-07-18 09:16:22 +03:00
Arun Raghavan
fb107fc770 vala: Add has_type_id=false to all enums, structs and classes
Since none of our types is derived from GType, explicitly signal this.
The default value for this attribute changed at some point, breaking our
bindings.
2011-08-31 11:35:35 +05:30
Alexander Kurtz
67ba3734ea vala: More vala fixes
1. Remove the "has_destroy_function=false" attribute. It was only
necessary because of a bug in vala which is fixed in 0.12. [1]

2. Add sizes to all fixed-size arrays to make vala recognize them as
such. Using symbolic constants for this is not yet supported. [2]

3. CardInfo struct: Move the brackets in the list of available profiles
to the type to make it clear that this is a dynamically-sized array. [3]

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622773
[2] https://bugzilla.gnome.org/show_bug.cgi?id=647788
[3] http://0pointer.de/lennart/projects/pulseaudio/doxygen/structpa__card__info.html
2011-04-18 10:31:51 +02:00
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