Skip to content

Commit

Permalink
Add extra config fields for metadata, ignore volume, allow interrupti…
Browse files Browse the repository at this point in the history
…on and checking timeout.
  • Loading branch information
mikebrady committed May 4, 2015
1 parent df7a046 commit 67aa54b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions common.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,17 @@ typedef struct {
char *password;
char *apname;
#ifdef CONFIG_METADATA
char *meta_dir;
int metadata_enabled;
char *metadata_pipename;
int get_coverart;
#endif
uint8_t hw_addr[6];
int port;
int ignore_volume_control;
int resyncthreshold; // if it get's out of whack my more than this, resync. Zero means never resync.
int allow_session_interruption;
int timeout; // while in play mode, exit if no packets of audio come in for more than this number of seconds . Zero means never exit.
int dont_check_timeout; // this is used to maintain backward compatability with the old -t option behaviour; only set by -t 0, cleared by everything else
char *output_name;
audio_output *output;
char *mdns_name;
Expand All @@ -65,8 +69,8 @@ typedef struct {
int daemonise;
int statistics_requested;
char *cmd_start, *cmd_stop;
int tolerance; // allow this much drift before attempting to correct it
int cmd_blocking;
int tolerance; // allow this much drift before attempting to correct it
enum stuffing_type packet_stuffing;
char *pidfile;
char *logfile;
Expand Down

0 comments on commit 67aa54b

Please sign in to comment.