]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
alsa: Fix PcmDevice.set_poll_descriptors_revents() binding
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 21 Oct 2020 15:04:31 +0000 (17:04 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 3 Jan 2021 11:50:22 +0000 (12:50 +0100)
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1092

vapi/alsa.vapi

index 66148d776ba28e36b22e269b2ea400d93e9d3e6b..91cf04162389b951024d8191adee2c1e54284a6a 100644 (file)
@@ -536,7 +536,7 @@ namespace Alsa {
         [CCode (cname = "snd_pcm_poll_descriptors")]
         public int set_poll_descriptors( Posix.pollfd[] pfds );
         [CCode (cname = "snd_pcm_poll_descriptors_revents")]
-        public int set_poll_descriptors_revents( Posix.pollfd[] pfds, ushort[] revents );
+        public int set_poll_descriptors_revents( Posix.pollfd[] pfds, out ushort revents );
         [CCode (cname = "snd_pcm_nonblock")]
         public int set_nonblock( bool nonblock );