summaryrefslogtreecommitdiff
path: root/sys/dev/ic/arcofivar.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-12-25 00:07:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-12-25 00:07:28 +0000
commit3fb9a2e064d11cb895c998b4dab862e3867f32f6 (patch)
treefdb74013063d056c43e6e513ff2cac7d5accaf5b /sys/dev/ic/arcofivar.h
parent3f76365a47a9b79ccaaadcff6aa269997ef5714e (diff)
Fix the documented CAVEAT by forcing the TX gain to minus infinity when
the user asks to only keep the input source enabled, and remember this to keep reporting the previously configured volume values in mixerctl. While there, document the supported encodings and the supported mixer items in the manual page, and the fact that all output sources share the same volume (GX gain) setting.
Diffstat (limited to 'sys/dev/ic/arcofivar.h')
-rw-r--r--sys/dev/ic/arcofivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/arcofivar.h b/sys/dev/ic/arcofivar.h
index ddfd83c2e25..3f882e3367c 100644
--- a/sys/dev/ic/arcofivar.h
+++ b/sys/dev/ic/arcofivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: arcofivar.h,v 1.1 2011/12/21 23:12:03 miod Exp $ */
+/* $OpenBSD: arcofivar.h,v 1.2 2011/12/25 00:07:27 miod Exp $ */
/*
* Copyright (c) 2011 Miodrag Vallat.
@@ -33,8 +33,10 @@ struct arcofi_softc {
struct {
uint8_t cr3, cr4;
uint gr_idx, gx_idx;
+ int output_mute;
} sc_active,
sc_shadow;
+
struct {
uint8_t *buf;
uint8_t *past;