]> code.delx.au - pulseaudio/commitdiff
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 59375e127e2149225a1cfb525a5b9b69eeea2f7e..eb8dfa1935c3209ab8e2243b4f54b7ffc723d3a6 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);