[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] vala: Fix card profile array bindings
Arun Raghavan
gitlab at gitlab.freedesktop.org
Mon Oct 15 11:30:23 UTC 2018
Arun Raghavan pushed to branch master at PulseAudio / pulseaudio
Commits:
6c21a567 by David Hewitt at 2018-10-15T09:15:15Z
vala: Fix card profile array bindings
- - - - -
1 changed file:
- vala/libpulse.vapi
Changes:
=====================================
vala/libpulse.vapi
=====================================
@@ -1365,6 +1365,16 @@ namespace PulseAudio {
public uint32 n_sources;
public uint32 priority;
}
+
+ [CCode (cname="pa_card_profile_info2", has_type_id=false)]
+ public struct CardProfileInfo2 {
+ public string name;
+ public string description;
+ public uint32 n_sinks;
+ public uint32 n_sources;
+ public uint32 priority;
+ int available;
+ }
[CCode (cname="pa_card_info", has_type_id=false)]
public struct CardInfo {
@@ -1373,8 +1383,12 @@ namespace PulseAudio {
public uint32 owner_module;
public string driver;
public uint32 n_profiles;
+ [CCode (array_length_cname="n_profiles")]
public CardProfileInfo[] profiles;
public CardProfileInfo *active_profile;
+ [CCode (array_length_cname="n_profiles")]
+ public CardProfileInfo2*[] profiles2;
+ public CardProfileInfo2 *active_profile2;
public Proplist proplist;
}
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/6c21a5678bd4b5678a709e00ac4762d81f5921e4
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/6c21a5678bd4b5678a709e00ac4762d81f5921e4
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20181015/1294ac35/attachment.html>
More information about the pulseaudio-commits
mailing list