[vala] alsa: fix snd_pcm_write* and and snd_pcm_read*
- From: Michael Lauer <mlauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] alsa: fix snd_pcm_write* and and snd_pcm_read*
- Date: Tue, 31 May 2011 17:05:04 +0000 (UTC)
commit 271684630bae0698501900cc503602eb5ef6d88d
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]