Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Capture client improvements #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions capture_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -113,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;

Expand Down Expand Up @@ -151,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();
Expand Down