chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DB_RECORDCOUNT has been deprecated for ages and has gone in db4.6
[disorder]
/
lib
/
configuration.h
diff --git
a/lib/configuration.h
b/lib/configuration.h
index d64721970543e98a8321f98b4d38f6c45cf28c57..c3049215e79aaeadb15964c0e9446f4a139b7c28 100644
(file)
--- a/
lib/configuration.h
+++ b/
lib/configuration.h
@@
-21,6
+21,8
@@
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
+#include <ao/ao.h>
+
struct real_pcre;
/* Configuration is kept in a @struct config@; the live configuration
struct real_pcre;
/* Configuration is kept in a @struct config@; the live configuration
@@
-97,6
+99,9
@@
struct config {
int lock; /* server takes a lock */
long nice_server; /* nice value for server */
long nice_speaker; /* nice value for speaker */
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 */
/* shared client/server config */
const char *home; /* home directory for state files */
/* client config */
@@
-107,6
+112,8
@@
struct config {
const char *url; /* canonical URL */
long refresh; /* maximum refresh period */
unsigned restrictions; /* restrictions */
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
#define RESTRICT_SCRATCH 1
#define RESTRICT_REMOVE 2
#define RESTRICT_MOVE 4
@@
-152,4
+159,3
@@
c-basic-offset:2
comment-column:40
End:
*/
comment-column:40
End:
*/
-/* arch-tag:bf8be7718c5e6348d0c922dfa66b85f9 */