[vala/0.12] alsa: fix snd_pcm_write* and and snd_pcm_read*



commit dbe023a9c3b2e01cc3c4a21a017141a221bda2a9
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date:   Tue May 31 19:04:41 2011 +0200

    alsa: fix snd_pcm_write* and and snd_pcm_read*

 vapi/alsa.vapi |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/vapi/alsa.vapi b/vapi/alsa.vapi
index ebc1f2c..1b7cae5 100644
--- a/vapi/alsa.vapi
+++ b/vapi/alsa.vapi
@@ -564,11 +564,9 @@ namespace Alsa {
         public PcmSignedFrames forwardable();
         public PcmSignedFrames forward( PcmUnsignedFrames frames );
         public PcmSignedFrames writei( [CCode (array_length = false)] uint8[] buffer, PcmUnsignedFrames size );
-        public PcmSignedFrames writen( [CCode (array_length = false)] uint8* buffer, PcmUnsignedFrames size );
-        //public PcmSignedFrames readi( [CCode (array_length = false)] out uint8[] buffer, PcmUnsignedFrames size );
-        //public PcmSignedFrames readn( [CCode (array_length = false)] out uint8[] buffer, PcmUnsignedFrames size );
-        public PcmSignedFrames readi( out uint8* buffer, PcmUnsignedFrames size );
-        public PcmSignedFrames readn( out uint8* buffer, PcmUnsignedFrames size );
+        public PcmSignedFrames writen( [CCode (array_length = false)] uint8*[] buffer, PcmUnsignedFrames size );
+        public PcmSignedFrames readi( [CCode (array_length = false)] uint8[] buffer, PcmUnsignedFrames size );
+        public PcmSignedFrames readn( [CCode (array_length = false)] uint8*[] buffer, PcmUnsignedFrames size );
         public int wait( int timeout );
         public int link( PcmDevice otherDevice );
         public int unlink();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]