Merge branch 'playback_resilience'
This commit is contained in:
commit
072c940426
|
@ -40,7 +40,7 @@
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|
||||||
// Disallow further writes to the buffer when its size is larger than this threshold
|
// Disallow further writes to the buffer when its size is larger than this threshold
|
||||||
#define INPUT_BUFFER_THRESHOLD STOB(44100)
|
#define INPUT_BUFFER_THRESHOLD STOB(88200)
|
||||||
// How long (in sec) to wait for player read before looping in playback thread
|
// How long (in sec) to wait for player read before looping in playback thread
|
||||||
#define INPUT_LOOP_TIMEOUT 1
|
#define INPUT_LOOP_TIMEOUT 1
|
||||||
|
|
||||||
|
|
|
@ -3096,7 +3096,7 @@ raop_v2_control_cb(int fd, short what, void *arg)
|
||||||
seq_start = be16toh(seq_start);
|
seq_start = be16toh(seq_start);
|
||||||
seq_len = be16toh(seq_len);
|
seq_len = be16toh(seq_len);
|
||||||
|
|
||||||
DPRINTF(E_DBG, L_RAOP, "Got retransmit request, seq_start %u len %u\n", seq_start, seq_len);
|
DPRINTF(E_DBG, L_RAOP, "Got retransmit request from '%s', seq_start %u len %u\n", rs->devname, seq_start, seq_len);
|
||||||
|
|
||||||
raop_v2_resend_range(rs, seq_start, seq_len);
|
raop_v2_resend_range(rs, seq_start, seq_len);
|
||||||
|
|
||||||
|
|
608
src/player.c
608
src/player.c
File diff suppressed because it is too large
Load Diff
|
@ -135,6 +135,9 @@ player_queue_clear_history(void);
|
||||||
void
|
void
|
||||||
player_queue_plid(uint32_t plid);
|
player_queue_plid(uint32_t plid);
|
||||||
|
|
||||||
|
struct player_history *
|
||||||
|
player_history_get(void);
|
||||||
|
|
||||||
int
|
int
|
||||||
player_device_add(void *device);
|
player_device_add(void *device);
|
||||||
|
|
||||||
|
@ -144,8 +147,8 @@ player_device_remove(void *device);
|
||||||
void
|
void
|
||||||
player_raop_verification_kickoff(char **arglist);
|
player_raop_verification_kickoff(char **arglist);
|
||||||
|
|
||||||
struct player_history *
|
void
|
||||||
player_history_get(void);
|
player_metadata_send(void *imd, void *omd);
|
||||||
|
|
||||||
int
|
int
|
||||||
player_init(void);
|
player_init(void);
|
||||||
|
|
Loading…
Reference in New Issue