#pragma once // system defines #ifdef BIGCHANS #define SYS_MAXCHANS 32 #else #define SYS_MAXCHANS 16 #endif enum { SYS_DEFAULTBLKSIZE = 256, SYS_MINBLKSIZE = 64, SYS_BS2 = 128, SYS_BS3 = 256, SYS_BS4 = 512, SYS_BS5 = 1024, SYS_MAXBLKSIZE = 2048, SYS_MAXSIGS = 32, SYS_MAXINCHOICES = 32, SYS_MAXRATES = 32, SYS_MAXBLKSIZECHOICES = 32, SYS_DEFAULTSR = 44100 }; // global variables #ifdef SYSOBJ extern float *sys_soundout; extern float *sys_soundin; extern long sys_nchans; extern float sys_sr; extern long sys_blksize; extern long sys_minvs; extern long sys_maxvs; extern char *sys_driver; extern short canvas_dspstate; extern t_int *dsp_chain; extern long sys_hasadc; extern short dac_chanused[]; extern short adc_chanused[]; extern int dsp_chainsize; extern char *sys_intext[]; extern long sys_inchoices; extern unsigned long sys_rateavail[]; extern long sys_ratechoices; extern long sys_input; extern long sys_ioblksize; extern long sys_iochoices; extern long sys_ioavail[]; extern long sys_sigchoices; extern long sys_sigavail[]; #endif