diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2008-09-20 00:30:48 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2008-09-20 00:30:48 +0000 |
commit | 4f51fe6574a7d46ddb95bb85e1053e86c2fb805a (patch) | |
tree | 79dbdbd418f6755bd22ee5437e56f897bcab4ffc /pd/src/s_audio_pa.c | |
parent | 59c8e59dce8fc86ba4d07e91984c6a3dd43bc73e (diff) |
pd 0.42-0 test 05
svn path=/trunk/; revision=10301
Diffstat (limited to 'pd/src/s_audio_pa.c')
-rw-r--r-- | pd/src/s_audio_pa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pd/src/s_audio_pa.c b/pd/src/s_audio_pa.c index 85816ee7..e02cbc9e 100644 --- a/pd/src/s_audio_pa.c +++ b/pd/src/s_audio_pa.c @@ -14,6 +14,8 @@ #include <portaudio.h> #include "s_audio_pablio.h" +#define MAX_PA_CHANS 32 +#define MAX_SAMPLES_PER_FRAME (MAX_PA_CHANS * DEFDACBLKSIZE) /* LATER try to figure out how to handle default devices in portaudio; the way s_audio.c handles them isn't going to work here. */ @@ -25,9 +27,6 @@ static int pa_inchans, pa_outchans; static float *pa_soundin, *pa_soundout; static t_audiocallback pa_callback; -#define MAX_PA_CHANS 32 -#define MAX_SAMPLES_PER_FRAME MAX_PA_CHANS * DEFDACBLKSIZE - int pa_foo; static int pa_lowlevel_callback(const void *inputBuffer, |