chiark / gitweb /
Uniform audio version of the command backend. No attempt to rate-limit
[disorder] / lib / uaudio.c
index f18af090418d8f8336a9e61b2d561b44702aa27a..266846e07f225c5751c3bbbfc84b4610470cb83c 100644 (file)
@@ -57,7 +57,7 @@ void uaudio_set(const char *name, const char *value) {
 }
 
 /** @brief Set a uaudio option */
-const char *uaudio_get(const char *name) {
+char *uaudio_get(const char *name) {
   const char *value = (uaudio_options ?
                        *(char **)hash_find(uaudio_options, name)
                        : NULL);
@@ -107,6 +107,7 @@ const struct uaudio *uaudio_apis[] = {
   &uaudio_oss,
 #endif
   &uaudio_rtp,
+  &uaudio_command,
   NULL,
 };