diff options
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, |