Initialize the mixer delta value to 8 for the 1370 version. No
objections in tech-kern.
This commit is contained in:
parent
315fde38db
commit
f07f5178b6
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: eap.c,v 1.82 2006/06/10 12:29:39 rpaulo Exp $ */
|
||||
/* $NetBSD: eap.c,v 1.83 2006/06/13 21:03:04 rpaulo Exp $ */
|
||||
/* $OpenBSD: eap.c,v 1.6 1999/10/05 19:24:42 csapuntz Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -57,7 +57,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: eap.c,v 1.82 2006/06/10 12:29:39 rpaulo Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: eap.c,v 1.83 2006/06/13 21:03:04 rpaulo Exp $");
|
||||
|
||||
#include "midi.h"
|
||||
#include "joy_eap.h"
|
||||
|
@ -1648,6 +1648,7 @@ eap1370_query_devinfo(void *addr, mixer_devinfo_t *dip)
|
|||
dip->prev = dip->next = AUDIO_MIXER_LAST;
|
||||
strcpy(dip->label.name, AudioNmaster);
|
||||
dip->un.v.num_channels = 2;
|
||||
dip->un.v.delta = 8;
|
||||
strcpy(dip->un.v.units.name, AudioNvolume);
|
||||
return 0;
|
||||
case EAP_VOICE_VOL:
|
||||
|
@ -1657,6 +1658,7 @@ eap1370_query_devinfo(void *addr, mixer_devinfo_t *dip)
|
|||
dip->next = AUDIO_MIXER_LAST;
|
||||
strcpy(dip->label.name, AudioNdac);
|
||||
dip->un.v.num_channels = 2;
|
||||
dip->un.v.delta = 8;
|
||||
strcpy(dip->un.v.units.name, AudioNvolume);
|
||||
return 0;
|
||||
case EAP_FM_VOL:
|
||||
|
@ -1666,6 +1668,7 @@ eap1370_query_devinfo(void *addr, mixer_devinfo_t *dip)
|
|||
dip->next = AUDIO_MIXER_LAST;
|
||||
strcpy(dip->label.name, AudioNfmsynth);
|
||||
dip->un.v.num_channels = 2;
|
||||
dip->un.v.delta = 8;
|
||||
strcpy(dip->un.v.units.name, AudioNvolume);
|
||||
return 0;
|
||||
case EAP_CD_VOL:
|
||||
|
@ -1675,6 +1678,7 @@ eap1370_query_devinfo(void *addr, mixer_devinfo_t *dip)
|
|||
dip->next = AUDIO_MIXER_LAST;
|
||||
strcpy(dip->label.name, AudioNcd);
|
||||
dip->un.v.num_channels = 2;
|
||||
dip->un.v.delta = 8;
|
||||
strcpy(dip->un.v.units.name, AudioNvolume);
|
||||
return 0;
|
||||
case EAP_LINE_VOL:
|
||||
|
@ -1684,6 +1688,7 @@ eap1370_query_devinfo(void *addr, mixer_devinfo_t *dip)
|
|||
dip->next = AUDIO_MIXER_LAST;
|
||||
strcpy(dip->label.name, AudioNline);
|
||||
dip->un.v.num_channels = 2;
|
||||
dip->un.v.delta = 8;
|
||||
strcpy(dip->un.v.units.name, AudioNvolume);
|
||||
return 0;
|
||||
case EAP_AUX_VOL:
|
||||
|
@ -1693,6 +1698,7 @@ eap1370_query_devinfo(void *addr, mixer_devinfo_t *dip)
|
|||
dip->next = AUDIO_MIXER_LAST;
|
||||
strcpy(dip->label.name, AudioNaux);
|
||||
dip->un.v.num_channels = 2;
|
||||
dip->un.v.delta = 8;
|
||||
strcpy(dip->un.v.units.name, AudioNvolume);
|
||||
return 0;
|
||||
case EAP_MIC_VOL:
|
||||
|
@ -1702,6 +1708,7 @@ eap1370_query_devinfo(void *addr, mixer_devinfo_t *dip)
|
|||
dip->next = EAP_MIC_PREAMP;
|
||||
strcpy(dip->label.name, AudioNmicrophone);
|
||||
dip->un.v.num_channels = 1;
|
||||
dip->un.v.delta = 8;
|
||||
strcpy(dip->un.v.units.name, AudioNvolume);
|
||||
return 0;
|
||||
case EAP_RECORD_SOURCE:
|
||||
|
|
Loading…
Reference in New Issue