summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorMike Brady <mikebrady@eircom.net>2018-07-15 13:54:33 +0100
committerMike Brady <mikebrady@eircom.net>2018-07-15 13:54:33 +0100
commit01f2a374b99f2607e63f55b49028cb580e0b1e3c (patch)
treebeb780bc95d0cd1c929c0c2216a4008a68932f82 /player.h
parent8ed8f808b8c952b246452ea8a262d92fb061e2d9 (diff)
Use pthread_cancel to stop a player thread rather than SIGUSR1 and pthread_kill.
Diffstat (limited to 'player.h')
-rw-r--r--player.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/player.h b/player.h
index d9b0a05..246e7b5 100644
--- a/player.h
+++ b/player.h
@@ -84,11 +84,11 @@ typedef struct {
time_t playstart;
pthread_t thread, timer_requester, rtp_audio_thread, rtp_control_thread, rtp_timing_thread;
// pthread_t *ptp;
-
+
signed short *tbuf;
int32_t *sbuf;
char *outbuf;
-
+
pthread_t *player_thread;
abuf_t audio_buffer[BUFFER_FRAMES];
int max_frames_per_packet, input_num_channels, input_bit_depth, input_rate;