diff options
author | Mike Brady <mikebrady@eircom.net> | 2018-07-15 13:54:33 +0100 |
---|---|---|
committer | Mike Brady <mikebrady@eircom.net> | 2018-07-15 13:54:33 +0100 |
commit | 01f2a374b99f2607e63f55b49028cb580e0b1e3c (patch) | |
tree | beb780bc95d0cd1c929c0c2216a4008a68932f82 /player.h | |
parent | 8ed8f808b8c952b246452ea8a262d92fb061e2d9 (diff) |
Use pthread_cancel to stop a player thread rather than SIGUSR1 and pthread_kill.
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |