summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--vala/libpulse.deps1
-rw-r--r--vala/libpulse.vapi8
3 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index a8a9eaac..3439c89b 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 00000000..b3188f74
--- /dev/null
+++ b/vala/libpulse.deps
@@ -0,0 +1 @@
+posix
diff --git a/vala/libpulse.vapi b/vala/libpulse.vapi
index 21c0f7cb..aed526a2 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();