Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/mace mavb supports only playback for now, s...



details:   https://anonhg.NetBSD.org/src/rev/39b06734fe63
branches:  trunk
changeset: 999528:39b06734fe63
user:      isaki <isaki%NetBSD.org@localhost>
date:      Fri Jun 07 13:24:21 2019 +0000

description:
mavb supports only playback for now, so drop FULLDUPLEX and INDEPENDENT
property.  These properies are valid only for bidirectional device.

diffstat:

 sys/arch/sgimips/mace/mavb.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r d141ce82c49d -r 39b06734fe63 sys/arch/sgimips/mace/mavb.c
--- a/sys/arch/sgimips/mace/mavb.c      Fri Jun 07 12:43:52 2019 +0000
+++ b/sys/arch/sgimips/mace/mavb.c      Fri Jun 07 13:24:21 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mavb.c,v 1.13 2019/05/08 13:40:16 isaki Exp $ */
+/* $NetBSD: mavb.c,v 1.14 2019/06/07 13:24:21 isaki Exp $ */
 /* $OpenBSD: mavb.c,v 1.6 2005/04/15 13:05:14 mickey Exp $ */
 
 /*
@@ -711,8 +711,7 @@
 mavb_get_props(void *hdl)
 {
 
-       return AUDIO_PROP_PLAYBACK |
-           AUDIO_PROP_FULLDUPLEX | AUDIO_PROP_INDEPENDENT;
+       return AUDIO_PROP_PLAYBACK;
 }
 
 static void



Home | Main Index | Thread Index | Old Index