summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2020-04-30 12:41:40 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2020-04-30 12:41:40 +0000
commit886c085ac2d5880ef2cb5531c29a15f50c08837f (patch)
treedf58ee5c5a5cc9b3624dbe71c0c4ebb2b724afd7 /sys/dev
parent8a5d4d5c3af7d0e44d44754ae141146e14bb0c85 (diff)
Use "dac" instead of "play" in mixer control names
All other drivers use "dac" and libsndio needs the control name to be "dac" for the control to be exposed.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/uaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c
index 2a155c509df..7119b2299f8 100644
--- a/sys/dev/usb/uaudio.c
+++ b/sys/dev/usb/uaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uaudio.c,v 1.155 2020/04/30 12:38:36 ratchov Exp $ */
+/* $OpenBSD: uaudio.c,v 1.156 2020/04/30 12:41:39 ratchov Exp $ */
/*
* Copyright (c) 2018 Alexandre Ratchov <alex@caoua.org>
*
@@ -173,7 +173,7 @@
/*
* names of DAC and ADC unit names
*/
-#define UAUDIO_NAME_PLAY "play"
+#define UAUDIO_NAME_PLAY "dac"
#define UAUDIO_NAME_REC "record"
/*