vala: Add CVolume.set()

Thanks to Alberto Ruiz for the patch.
This commit is contained in:
Tanu Kaskinen 2013-07-18 09:16:22 +03:00
parent 7c3d31abe7
commit 9813ada2ec

View file

@ -340,6 +340,9 @@ namespace PulseAudio {
[CCode (cname="pa_cvolume_compatible_with_channel_map")] [CCode (cname="pa_cvolume_compatible_with_channel_map")]
public bool compatible_with_channel_map(ChannelMap cm); 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")] [CCode (cname="pa_cvolume_get_balance")]
public float get_balance(ChannelMap map); public float get_balance(ChannelMap map);