From ad54cabbd2b642f97a1250bd53a616f2dfb13744 Mon Sep 17 00:00:00 2001 From: sletz Date: Wed, 31 Jan 2007 13:30:36 +0000 Subject: [PATCH] Cleanup git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1391 0c269be4-1314-0410-8aa9-9f06e86f4224 --- example-clients/simple_client.c | 37 --------------------------------- 1 file changed, 37 deletions(-) diff --git a/example-clients/simple_client.c b/example-clients/simple_client.c index 20005ca7..90e6e1b4 100644 --- a/example-clients/simple_client.c +++ b/example-clients/simple_client.c @@ -6,12 +6,10 @@ #include #include -//#include #include #include #include -//#include #include "jack.h" jack_port_t *input_port; @@ -47,35 +45,6 @@ volatile enum { * running, copy the input port to the output. When it stops, exit. */ -/* -int -process (jack_nframes_t nframes, void *arg) -{ - jack_default_audio_sample_t *in, *out; - jack_transport_state_t ts = jack_transport_query(client, NULL); - int i; - - if (ts == JackTransportRolling) { - - if (client_state == Init) - client_state = Run; - - in = jack_port_get_buffer (input_port, nframes); - out = jack_port_get_buffer (output_port, nframes); - - memcpy (out, in, - sizeof (jack_default_audio_sample_t) * nframes); - - } else if (ts == JackTransportStopped) { - - if (client_state == Run) - client_state = Exit; - } - - return 0; -} -*/ - int process (jack_nframes_t nframes, void *arg) { @@ -175,12 +144,6 @@ main (int argc, char *argv[]) jack_on_shutdown (client, jack_shutdown, 0); - /* display the current sample rate. - */ - -// printf ("engine sample rate: %" PRIu32 "\n", -// jack_get_sample_rate (client)); - /* create two ports */ input_port = jack_port_register (client, "input",