vala: Add CVolume.set()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 18 Jul 2013 06:16:22 +0000 (09:16 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 18 Jul 2013 06:16:22 +0000 (09:16 +0300)
Thanks to Alberto Ruiz for the patch.

vala/libpulse.vapi

index 59375e1..eb8dfa1 100644 (file)
@@ -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);