char *stat_item_values[NUM_STAT_ITEMS];
/** do not restart client command until this time */
struct timeval restart_barrier;
+ /** last time we received status data from para_server */
+ struct timeval last_status_read;
/** the offset value announced by para_server */
int offset_seconds;
/** the length of the current audio file as announced by para_server */
struct timeval sa_time_diff;
/** whether client time is ahead of server time */
int sa_time_diff_sign;
- /** the audio format announced in server status */
- char *af_status;
/** non-zero if \a af_status is "playing" */
int playing;
};
void __noreturn clean_exit(int status, const char *msg);
int handle_connect(int accept_fd);
void audiod_status_dump(void);
+void dump_empty_status(void);
/** iterate over all slots */
#define FOR_EACH_SLOT(_slot) for (_slot = 0; _slot < MAX_STREAM_SLOTS; _slot++)