|
| static void | ftol (float f, long *a) |
| void | docell4 (void *c, float modulator) |
| void | docell3 (void *c, float modulator) |
| void | docell2 (void *c, float modulator) |
| void | docell1 (void *c, float modulator) |
| void | docell0 (void *c, float modulator) |
| void | cellon (long i, long j, celltype *c, unsigned char iscarrier) |
| void | cellfreq (signed long i, signed long j, celltype *c) |
| void | adlibinit (long dasamplerate, long danumspeakers, long dabytespersample) |
| void | adlib0 (long i, long v) |
| static void | clipit8 (float f, unsigned char *a) |
| static void | clipit16 (float f, short *a) |
| void | adlibsetvolume (int i) |
| void | adlibgetsample (unsigned char *sndptr, long numbytes) |
|
| static float | AMPSCALE =(8192.0) |
| static long | numspeakers |
| static long | bytespersample |
| static float | recipsamp |
| static celltype | cell [MAXCELLS] |
| static signed short | wavtable [WAVPREC *3] |
| static float | kslmul [4] = {0.0,0.5,0.25,1.0} |
| static float | frqmul [16] = {.5,1,2,3,4,5,6,7,8,9,10,10,12,12,15,15} |
| static float | nfrqmul [16] |
| static unsigned char | adlibreg [256] |
| static unsigned char | ksl [8][16] |
| static unsigned char | modulatorbase [9] = {0,1,2,8,9,10,16,17,18} |
| static unsigned char | odrumstat = 0 |
| static unsigned char | base2cell [22] = {0,1,2,0,1,2,0,0,3,4,5,3,4,5,0,0,6,7,8,6,7,8} |
| float | lvol [9] = {1,1,1,1,1,1,1,1,1} |
| float | rvol [9] = {1,1,1,1,1,1,1,1,1} |
| long | lplc [9] = {0,0,0,0,0,0,0,0,0} |
| long | rplc [9] = {0,0,0,0,0,0,0,0,0} |
| long | nlvol [9] |
| long | nrvol [9] |
| long | nlplc [9] |
| long | nrplc [9] |
| long | rend = 0 |
| static float * | rptr [9] |
| static float * | nrptr [9] |
| static float | rbuf [9][FIFOSIZ *2] |
| static float | snd [FIFOSIZ *2] |
| static long | waveform [8] = {WAVPREC,WAVPREC>>1,WAVPREC,(WAVPREC*3)>>2,0,0,(WAVPREC*5)>>2,WAVPREC<<1} |
| static long | wavemask [8] = {WAVPREC-1,WAVPREC-1,(WAVPREC>>1)-1,(WAVPREC>>1)-1,WAVPREC-1,((WAVPREC*3)>>2)-1,WAVPREC>>1,WAVPREC-1} |
| static long | wavestart [8] = {0,WAVPREC>>1,0,WAVPREC>>2,0,0,0,WAVPREC>>3} |
| static float | attackconst [4] = {1/2.82624,1/2.25280,1/1.88416,1/1.59744} |
| static float | decrelconst [4] = {1/39.28064,1/31.41608,1/26.17344,1/22.44608} |
| static long | initfirstime = 0 |