#ifndef CONFIGURATION_H
#define CONFIGURATION_H
+#include <ao/ao.h>
+
struct real_pcre;
/* Configuration is kept in a @struct config@; the live configuration
int lock; /* server takes a lock */
long nice_server; /* nice value for server */
long nice_speaker; /* nice value for speaker */
+ const char *speaker_command; /* command for speaker to run */
+ ao_sample_format sample_format; /* sample format to enforce */
+ long sox_generation; /* sox syntax generation */
/* shared client/server config */
const char *home; /* home directory for state files */
/* client config */
const char *url; /* canonical URL */
long refresh; /* maximum refresh period */
unsigned restrictions; /* restrictions */
+ long queue_pad; /* how far to pad queue with
+ * random tracks */
#define RESTRICT_SCRATCH 1
#define RESTRICT_REMOVE 2
#define RESTRICT_MOVE 4