summaryrefslogtreecommitdiff
path: root/vapi/alsa.vapi
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2011-05-31 19:04:41 +0200
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2011-05-31 19:04:41 +0200
commit271684630bae0698501900cc503602eb5ef6d88d (patch)
treecc5d26e139af06d4e6f9113609bea65e5581bf73 /vapi/alsa.vapi
parent33f2d4551de8ad6844bfb7a482d4f25b6ff28346 (diff)
downloadvala-271684630bae0698501900cc503602eb5ef6d88d.tar.gz
alsa: fix snd_pcm_write* and and snd_pcm_read*
Diffstat (limited to 'vapi/alsa.vapi')
-rw-r--r--vapi/alsa.vapi8
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();