Commit dc65a034 authored by David Hewitt's avatar David Hewitt Committed by Tanu Kaskinen

vala: Fix lengths for source/sink port arrays

parent efba6e3b
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment