diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2011-05-31 19:04:41 +0200 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2011-05-31 19:04:41 +0200 |
commit | 271684630bae0698501900cc503602eb5ef6d88d (patch) | |
tree | cc5d26e139af06d4e6f9113609bea65e5581bf73 /vapi/alsa.vapi | |
parent | 33f2d4551de8ad6844bfb7a482d4f25b6ff28346 (diff) | |
download | vala-271684630bae0698501900cc503602eb5ef6d88d.tar.gz |
alsa: fix snd_pcm_write* and and snd_pcm_read*
Diffstat (limited to 'vapi/alsa.vapi')
-rw-r--r-- | vapi/alsa.vapi | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/vapi/alsa.vapi b/vapi/alsa.vapi index ebc1f2cb8..1b7cae555 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(); |