Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sbus set a delta value for the master channel so vol...
details: https://anonhg.NetBSD.org/src/rev/24a95fb092b1
branches: trunk
changeset: 750777:24a95fb092b1
user: macallan <macallan%NetBSD.org@localhost>
date: Thu Jan 14 02:20:07 2010 +0000
description:
set a delta value for the master channel so volume control via PMF works
diffstat:
sys/dev/sbus/dbri.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ce9df90488de -r 24a95fb092b1 sys/dev/sbus/dbri.c
--- a/sys/dev/sbus/dbri.c Thu Jan 14 02:18:59 2010 +0000
+++ b/sys/dev/sbus/dbri.c Thu Jan 14 02:20:07 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dbri.c,v 1.28 2010/01/08 20:01:21 dyoung Exp $ */
+/* $NetBSD: dbri.c,v 1.29 2010/01/14 02:20:07 macallan Exp $ */
/*
* Copyright (C) 1997 Rudolf Koenig (rfkoenig%immd4.informatik.uni-erlangen.de@localhost)
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dbri.c,v 1.28 2010/01/08 20:01:21 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dbri.c,v 1.29 2010/01/14 02:20:07 macallan Exp $");
#include "audio.h"
#if NAUDIO > 0
@@ -1864,6 +1864,7 @@
strcpy(di->label.name, AudioNmaster);
di->type = AUDIO_MIXER_VALUE;
di->un.v.num_channels = 2;
+ di->un.v.delta = 16;
strcpy(di->un.v.units.name, AudioNvolume);
return (0);
case DBRI_INPUT_GAIN: /* input gain */
Home |
Main Index |
Thread Index |
Old Index