chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
De-dupe default backend selection
[disorder]
/
lib
/
configuration.h
diff --git
a/lib/configuration.h
b/lib/configuration.h
index a06524cb3133b8c53c28621242e7075c275d6e14..4b22fdbdf1d002985a0af913e3d615c00f41a4e6 100644
(file)
--- a/
lib/configuration.h
+++ b/
lib/configuration.h
@@
-183,6
+183,8
@@
struct config {
* BACKEND_NETWORK.
*/
int api;
+
+/* These values had better be non-negative */
#define BACKEND_ALSA 0 /**< Use ALSA (Linux only) */
#define BACKEND_COMMAND 1 /**< Execute a command */
#define BACKEND_NETWORK 2 /**< Transmit RTP */