Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/dev pullup 1.113->1.114 (nathanw). We are now sync'...
details: https://anonhg.NetBSD.org/src/rev/696a25b4fd19
branches: netbsd-1-4
changeset: 468876:696a25b4fd19
user: perry <perry%NetBSD.org@localhost>
date: Tue Jun 22 14:18:41 1999 +0000
description:
pullup 1.113->1.114 (nathanw). We are now sync'ed to 1.115
diffstat:
sys/dev/audio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 666cc8ad66ed -r 696a25b4fd19 sys/dev/audio.c
--- a/sys/dev/audio.c Tue Jun 22 13:56:43 1999 +0000
+++ b/sys/dev/audio.c Tue Jun 22 14:18:41 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.113.2.1 1999/06/18 17:07:27 perry Exp $ */
+/* $NetBSD: audio.c,v 1.113.2.2 1999/06/22 14:18:41 perry Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@@ -304,7 +304,7 @@
au_check_ports(sc, &sc->sc_outports, &mi, oclass,
AudioNoutput, AudioNmaster, otable);
if (mi.mixer_class == oclass &&
- strcmp(mi.label.name, AudioNmonitor))
+ (strcmp(mi.label.name, AudioNmonitor) == 0))
sc->sc_monitor_port = mi.index;
}
DPRINTF(("audio_attach: inputs ports=0x%x, output ports=0x%x\n",
@@ -2515,7 +2515,7 @@
ct.type = AUDIO_MIXER_VALUE;
ct.un.value.num_channels = 1;
ct.un.value.level[AUDIO_MIXER_LEVEL_MONO] = ai->monitor_gain;
- error = sc->hw_if->get_port(sc->hw_hdl, &ct);
+ error = sc->hw_if->set_port(sc->hw_hdl, &ct);
if (error)
return(error);
}
Home |
Main Index |
Thread Index |
Old Index