From 3f4e8cb8ed0bef8e4ba55a9280976a663c8e734d Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Tue, 18 Feb 2014 13:30:25 -0500 Subject: [PATCH 1/3] capture_client: remove unnecessary pthread_set_cancel_type --- capture_client.c | 1 - 1 file changed, 1 deletion(-) diff --git a/capture_client.c b/capture_client.c index b9c7039..667ce0b 100644 --- a/capture_client.c +++ b/capture_client.c @@ -70,7 +70,6 @@ disk_thread (void *arg) size_t bytes_per_frame = samples_per_frame * sample_size; void *framebuf = malloc (bytes_per_frame); - pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, NULL); pthread_mutex_lock (&disk_thread_lock); info->status = 0; From 335effb1ec914748686ace9753af79bfed177f21 Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Tue, 18 Feb 2014 13:32:15 -0500 Subject: [PATCH 2/3] capture_client: fix sign comparison warnings --- capture_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capture_client.c b/capture_client.c index 667ce0b..ec1710c 100644 --- a/capture_client.c +++ b/capture_client.c @@ -112,7 +112,7 @@ disk_thread (void *arg) int process (jack_nframes_t nframes, void *arg) { - int chn; + unsigned chn; size_t i; jack_thread_info_t *info = (jack_thread_info_t *) arg; From e23acf13d0f7888baac1b00f7c045850e2500d20 Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Tue, 18 Feb 2014 13:32:38 -0500 Subject: [PATCH 3/3] capture_client: fix unused variable warning --- capture_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/capture_client.c b/capture_client.c index ec1710c..d0fb8cf 100644 --- a/capture_client.c +++ b/capture_client.c @@ -150,6 +150,7 @@ process (jack_nframes_t nframes, void *arg) void jack_shutdown (void *arg) { + (void) arg; fprintf (stderr, "JACK shutdown\n"); // exit (0); abort();