#DecemberAdventure 1st: afternoon
fixed up some almost-finished things in #clive (my thing for #LiveCoding audio in the #C programming language), namely separate in/out channel counts. Still hardcoded at build time in `server/config.h`.
at the moment:
jack: 2 in 18 out (currently set up for first 2 stereo, last 16 to exwhyscope for debugging)
portaudio: 0 in 2 out
sdl2: 0 in 2 out
stdio: 0 in 2 out
I put a prototype in the dsp.h header so that these changes will fail at build time instead of crashing. this also means client user code needs to change from
typedef struct { ... } S;
int go(S *s, int channels, const float *in, float *out, event
s_t *events) { ... }
to
struct S { ... };
int go(S *s, int inchannels, const float *in, int outchannels, float *out, event
s_t *events) { ... }
all branches in the clive-core repository are now up to date.
```
git clone https : / / code.mathr.co.uk / clive-core.git
```
(no web access any more due to bad robots, but the git tool should still work)