[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, stable-queue, updated. v0.9.22-33-gea0a2a6
Colin Guthrie
gitmailer-noreply at 0pointer.de
Fri Mar 25 02:15:03 PDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.
The stable-queue branch has been updated
from b872254762285597d94dd9174b8c1426dd263062 (commit)
- Log -----------------------------------------------------------------
ea0a2a6 vala: delegate FreeCb does not have a target.
4fa7495 vala: Some bugfixes for the vala bindings
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 3 ++-
vala/libpulse.deps | 1 +
vala/libpulse.vapi | 10 +++++-----
3 files changed, 8 insertions(+), 6 deletions(-)
create mode 100644 vala/libpulse.deps
-----------------------------------------------------------------------
commit 4fa7495a3114bb5841751537154215ebd229adf0
Author: Alexander Kurtz <kurtz.alex at googlemail.com>
Date: Thu Mar 24 21:35:17 2011 +0000
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.
diff --git a/Makefile.am b/Makefile.am
index a8a9eaa..3439c89 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,6 +28,7 @@ EXTRA_DIST = \
doxygen/doxygen.conf.in \
README \
todo \
+ vala/libpulse.deps \
vala/libpulse.vapi
SUBDIRS = src doxygen man po
@@ -36,7 +37,7 @@ MAINTAINERCLEANFILES =
noinst_DATA =
vapidir = $(datadir)/vala/vapi
-vapi_DATA = vala/libpulse.vapi
+vapi_DATA = vala/libpulse.deps vala/libpulse.vapi
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libpulse.pc libpulse-simple.pc
diff --git a/vala/libpulse.deps b/vala/libpulse.deps
new file mode 100644
index 0000000..b3188f7
--- /dev/null
+++ b/vala/libpulse.deps
@@ -0,0 +1 @@
+posix
diff --git a/vala/libpulse.vapi b/vala/libpulse.vapi
index 21c0f7c..aed526a 100644
--- a/vala/libpulse.vapi
+++ b/vala/libpulse.vapi
@@ -237,7 +237,7 @@ namespace PulseAudio {
[CCode (cname="PA_CHANNELS_MAX")]
public const int CHANNELS_MAX;
- [CCode (cname="PA_CHANNELS_MAX")]
+ [CCode (cname="PA_RATE_MAX")]
public const int RATE_MAX;
[CCode (cname="pa_cvolume")]
@@ -854,7 +854,7 @@ namespace PulseAudio {
public int iterate(bool block = true, out int retval = null);
public int run(out int retval = null);
public unowned MainLoopApi get_api();
- public void quit(int r);
+ public void quit(int retval);
public void wakeup();
public void set_poll_func(PollFunc poll_func);
}
@@ -1194,8 +1194,8 @@ namespace PulseAudio {
public int is_suspended();
public int is_corked();
- public int connect_playback(string dev, BufferAttr? a = null, Flags flags = 0, CVolume? volume = null, Stream? sync_stream = null);
- public int connect_record(string dev, BufferAttr? a = null, Flags flags = 0);
+ public int connect_playback(string? dev = null, BufferAttr? a = null, Flags flags = 0, CVolume? volume = null, Stream? sync_stream = null);
+ public int connect_record(string? dev = null, BufferAttr? a = null, Flags flags = 0);
public int connect_upload(size_t length);
public int disconnect();
public int finish_upload();
commit ea0a2a603c970a5ae59a3b2a49ed189997c91ece
Author: Sean McNamara <smcnam at gmail.com>
Date: Fri Mar 25 01:28:10 2011 -0400
vala: delegate FreeCb does not have a target.
diff --git a/vala/libpulse.vapi b/vala/libpulse.vapi
index aed526a..8304911 100644
--- a/vala/libpulse.vapi
+++ b/vala/libpulse.vapi
@@ -49,7 +49,7 @@ namespace PulseAudio {
[CCode (cname="PA_INVALID_INDEX")]
public const uint32 INVALID_INDEX;
- [CCode (cname="pa_free_cb_t")]
+ [CCode (cname="pa_free_cb_t", has_target=false)]
public delegate void FreeCb(void *p);
[CCode (cname="pa_sample_format_t", cprefix="PA_SAMPLE_")]
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list