summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>2013-07-18 09:16:22 +0300
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2013-07-18 09:16:22 +0300
commit9813ada2ec3c3cdbdb6cde2bd5feac3e04c5a709 (patch)
tree9b0163c8d4b5da90d5df096a7f7d2639a5ce2f44
parent7c3d31abe7130fdb22c9eb36a17f8606ce3a22f6 (diff)
vala: Add CVolume.set()
Thanks to Alberto Ruiz for the patch.
-rw-r--r--vala/libpulse.vapi3
1 files changed, 3 insertions, 0 deletions
diff --git a/vala/libpulse.vapi b/vala/libpulse.vapi
index 59375e127..eb8dfa193 100644
--- a/vala/libpulse.vapi
+++ b/vala/libpulse.vapi
@@ -340,6 +340,9 @@ namespace PulseAudio {
[CCode (cname="pa_cvolume_compatible_with_channel_map")]
public bool compatible_with_channel_map(ChannelMap cm);
+ [CCode (cname="pa_cvolume_set")]
+ public unowned CVolume? set(uint8 channels, Volume v);
+
[CCode (cname="pa_cvolume_get_balance")]
public float get_balance(ChannelMap map);