commit f34c4f72d2e1e6440c7c8f4ff347952bf6d5b28f
parent 19e10ab036157daff682f965233cb3ec350b4d5d
Author: lostd <lostd@2f30.org>
Date: Tue, 13 Dec 2016 14:22:41 +0000
Use the sndiod-exposed subdevices snd/0 and snd/1 by default
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mixerd.c b/mixerd.c
@@ -33,8 +33,9 @@
#define CTL_SOCK_PATH "/tmp/mixerctl"
#define CH0_SOCK_PATH "/tmp/mixer0"
#define CH1_SOCK_PATH "/tmp/mixer1"
+/* to use the snd/0 and snd/1 handles: sndiod -f rsnd/0 -f rsnd/1 */
#define MASTER_DEV "sndio://snd/0"
-#define MONITOR_DEV "sndio://rsnd/1"
+#define MONITOR_DEV "sndio://snd/1"
#define NOUTPUTS 2
#define BITS 16
#define BPS (BITS / 8)