{ 's', "syslog", "use syslog for messages" },
{ INTARG | 'n', "nice", "set the process priority (see 'man nice')" },
{ 'c', "sched-idle", "set the process scheduling policy to idle (SCHED_IDLE)" },
+#ifdef HAVE_ALSA_USE_CASE_H
{ 'D', "ucm-defaults", "execute also the UCM 'defaults' section" },
+#endif
{ HEADER, NULL, "Available commands:" },
{ CARDCMD, "store", "save current driver setup for one or each soundcards" },
{ EMPCMD, NULL, " to configuration file" },
*
*/
+#include "aconfig.h"
#include <stddef.h>
#include "alsactl.h"
+
+#ifdef HAVE_ALSA_USE_CASE_H
+
#include <alsa/use-case.h>
/*
snd_use_case_mgr_close(uc_mgr);
return err;
}
+
+#else
+
+int init_ucm(int flags, int cardno)
+{
+ return 0;
+}
+
+#endif