From 50cbe4e0ccdd2022553861dca008ed0556af800e Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 10 Nov 2014 00:39:22 +0100 Subject: [PATCH] Bury old experiments with Jack Maybe one day I will kick out PulseAudio and beg Jack to forgive. --- jt.c | 97 ------------------------------------------------------------ 1 file changed, 97 deletions(-) delete mode 100644 jt.c diff --git a/jt.c b/jt.c deleted file mode 100644 index 3fa5558..0000000 --- a/jt.c +++ /dev/null @@ -1,97 +0,0 @@ -#include -#include -#include - -#include - -typedef jack_default_audio_sample_t sample_t; - -static jack_client_t *jc; -static jack_port_t *inport[2], *outport[4]; - -static int process_callback(jack_nframes_t nframes, void *arg __attribute__((unused))) -{ - for (int ch=0; ch<2; ch++) { - sample_t *in = jack_port_get_buffer(inport[ch], nframes); - sample_t *out = jack_port_get_buffer(outport[ch], nframes); - sample_t *out2 = jack_port_get_buffer(outport[2+ch], nframes); - for (jack_nframes_t i=0; i %s\n", a, b); - } - - puts("Running..."); - char xxx[16]; - read(0, xxx, sizeof(xxx)); - - puts("exiting"); - jack_client_close(jc); - return 0; -} -- 2.39.2