Module Name: src
Committed By: macallan
Date: Thu Jan 14 02:20:08 UTC 2010
Modified Files:
src/sys/dev/sbus: dbri.c
Log Message:
set a delta value for the master channel so volume control via PMF works
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/sbus/dbri.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/sbus/dbri.c
diff -u src/sys/dev/sbus/dbri.c:1.28 src/sys/dev/sbus/dbri.c:1.29
--- src/sys/dev/sbus/dbri.c:1.28 Fri Jan 8 20:01:21 2010
+++ src/sys/dev/sbus/dbri.c Thu Jan 14 02:20:07 2010
@@ -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 ([email protected])
@@ -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 */