[player] Make the player resilient in cases where an output blocks

(due to e.g. network problems) and also make sure that all devices
have called back before restarting after a suspend. Also a whole
lot of tidying up while I am at it.
This commit is contained in:
ejurgensen 2017-07-06 22:13:04 +02:00
parent a23bb0b7e2
commit 6295f2d79a
2 changed files with 336 additions and 274 deletions

File diff suppressed because it is too large Load Diff

View File

@ -135,6 +135,9 @@ player_queue_clear_history(void);
void
player_queue_plid(uint32_t plid);
struct player_history *
player_history_get(void);
int
player_device_add(void *device);
@ -144,8 +147,8 @@ player_device_remove(void *device);
void
player_raop_verification_kickoff(char **arglist);
struct player_history *
player_history_get(void);
void
player_metadata_send(void *imd, void *omd);
int
player_init(void);