Skip to content

Commit

Permalink
vala: Fix lengths for source/sink port arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmhewitt authored and tanuk committed May 7, 2018
1 parent efba6e3 commit dc65a03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vala/libpulse.vapi
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit dc65a03

Please sign in to comment.