From 31017c90e2b59870e16e17991516b76b24ddc579 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 3 Jun 2009 02:18:06 +0000 Subject: remove references to "s_stuff.h" svn path=/trunk/; revision=11641 --- desiredata/src/s_audio_pa.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'desiredata/src/s_audio_pa.c') diff --git a/desiredata/src/s_audio_pa.c b/desiredata/src/s_audio_pa.c index ba0278d2..3649e568 100644 --- a/desiredata/src/s_audio_pa.c +++ b/desiredata/src/s_audio_pa.c @@ -3,8 +3,7 @@ * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ /* this file calls Ross Bencina's and Phil Burk's Portaudio package. It's - the main way in for Mac OS and, with Michael Casey's help, also into - ASIO in Windows. */ + the main way in for Mac OS and, with Michael Casey's help, also into ASIO in Windows. */ /* tb: requires portaudio >= V19 */ @@ -48,6 +47,8 @@ static PaStreamCallback *pa_callback = NULL; int process (const void *input, void *output, unsigned long frameCount, const PaStreamCallbackTimeInfo* timeInfo, PaStreamCallbackFlags statusFlags, void *userData); +/*int naudioindev, int * audioindev, int nchindev, int * chindev, +int naudiooutdev, int *audiooutdev, int nchoutdev, int *choutdev, int rate, int dummy*/ int pa_open_audio(int inchans, int outchans, int rate, int advance, int indeviceno, int outdeviceno, int schedmode) { PaError err; int j, devno, pa_indev = -1, pa_outdev = -1; @@ -165,14 +166,14 @@ const PaStreamCallbackTimeInfo* timeInfo, PaStreamCallbackFlags statusFlags, voi sys_log_error(ERR_SYSLOCK); return 0; } - for (j = 0; j < sys_inchannels; j++) { + for (int j=0; j