Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20960
Modified Files: Tag: desiredata s_audio_oss.c s_audio_sgi.c Log Message: new audio api
Index: s_audio_oss.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_oss.c,v retrieving revision 1.6.4.2.2.2.2.2 retrieving revision 1.6.4.2.2.2.2.3 diff -C2 -d -r1.6.4.2.2.2.2.2 -r1.6.4.2.2.2.2.3 *** s_audio_oss.c 28 Jun 2007 06:19:19 -0000 1.6.4.2.2.2.2.2 --- s_audio_oss.c 30 Jun 2007 20:30:18 -0000 1.6.4.2.2.2.2.3 *************** *** 685,686 **** --- 685,693 ---- *nindevs = *noutdevs = ndev; } + + struct t_audioapi oss_api = { + oss_open_audio, + oss_close_audio, + oss_send_dacs, + oss_getdevs, + };
Index: s_audio_sgi.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/s_audio_sgi.c,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.1.4.1 diff -C2 -d -r1.1.4.1 -r1.1.4.1.4.1 *** s_audio_sgi.c 10 Nov 2004 13:47:09 -0000 1.1.4.1 --- s_audio_sgi.c 30 Jun 2007 20:30:19 -0000 1.1.4.1.4.1 *************** *** 4,9 **** /* written by Olaf Matthes olaf.matthes@gmx.de */
- #ifdef USEAPI_SGI - #include <stdio.h> #include <stdlib.h> --- 4,7 ---- *************** *** 90,94 ****
int sgi_open_audio(int nindev, int *indev, int nchin, int *chin, ! int noutdev, int *outdev, int nchout, int *chout, int rate) { ALpv pvbuf[2]; --- 88,92 ----
int sgi_open_audio(int nindev, int *indev, int nchin, int *chin, ! int noutdev, int *outdev, int nchout, int *chout, int rate/*, int dummy*/) { ALpv pvbuf[2]; *************** *** 458,460 **** }
! #endif /* SGI */ --- 456,463 ---- }
! struct t_audioapi sgi_api = { ! sgi_open_audio, ! sgi_close_audio, ! sgi_send_dacs, ! sgi_getdevs, ! };