X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/9d5da57642eeaf8e2b68f18bb1e6f56bfc7510b9..58a4416cce6611c4baf4f55f6e3e65b3daed6366:/lib/configuration.h?ds=inline diff --git a/lib/configuration.h b/lib/configuration.h index 75e066c..c304921 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -101,6 +101,7 @@ struct config { 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 */ @@ -111,6 +112,8 @@ struct 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