Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcmips/vr Don't advertise AUDIO_PROP_CAPTURE - no ...



details:   https://anonhg.NetBSD.org/src/rev/99564505c180
branches:  trunk
changeset: 958601:99564505c180
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jan 13 06:39:46 2021 +0000

description:
Don't advertise AUDIO_PROP_CAPTURE - no capture method is provided

[   1.0000000] audio0 at vraiu0: missing capture method

diffstat:

 sys/arch/hpcmips/vr/vraiu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 905c99dae8d7 -r 99564505c180 sys/arch/hpcmips/vr/vraiu.c
--- a/sys/arch/hpcmips/vr/vraiu.c       Wed Jan 13 05:21:34 2021 +0000
+++ b/sys/arch/hpcmips/vr/vraiu.c       Wed Jan 13 06:39:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vraiu.c,v 1.19 2020/02/23 04:02:46 isaki Exp $ */
+/*     $NetBSD: vraiu.c,v 1.20 2021/01/13 06:39:46 skrll Exp $ */
 
 /*
  * Copyright (c) 2001 HAMAJIMA Katsuomi. All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vraiu.c,v 1.19 2020/02/23 04:02:46 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vraiu.c,v 1.20 2021/01/13 06:39:46 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -493,7 +493,7 @@
 {
        DPRINTFN(3, ("vraiu_get_props\n"));
 
-       return AUDIO_PROP_PLAYBACK | AUDIO_PROP_CAPTURE;
+       return AUDIO_PROP_PLAYBACK;
 }
 
 void



Home | Main Index | Thread Index | Old Index