From 7410b412d6c388abd2e8cc0f8a8d5f6611bf76bc Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Sat, 5 May 2018 21:37:03 +0100 Subject: [PATCH] vala: Fix lengths for source/sink port arrays --- vala/libpulse.vapi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vala/libpulse.vapi b/vala/libpulse.vapi index f54f1ae0..f0e6f7b3 100644 --- a/vala/libpulse.vapi +++ b/vala/libpulse.vapi @@ -1288,6 +1288,7 @@ namespace PulseAudio { public uint32 n_volume_steps; public uint32 card; public uint32 n_ports; + [CCode (array_length_cname="n_ports")] public SinkPortInfo*[] ports; public SinkPortInfo* active_port; } @@ -1321,6 +1322,7 @@ namespace PulseAudio { public uint32 n_volume_steps; public uint32 card; public uint32 n_ports; + [CCode (array_length_cname="n_ports")] public SourcePortInfo*[] ports; public SourcePortInfo* active_port; } -- 2.17.0