summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ac97.h
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2008-05-25 23:52:31 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2008-05-25 23:52:31 +0000
commitf0cdbe4f7744702991b761684e14a7e861e6663d (patch)
treeefd61d4ecb856c93835f1b0eb19bce1020006351 /sys/dev/ic/ac97.h
parent3720c857ec04b612f2d38e4caa9af22b3ec791d5 (diff)
add a function to get default parameters for ac97 codecs. all ac97
codecs support 16-bit stereo slinear_le @ 48kHz. ok ratchov@
Diffstat (limited to 'sys/dev/ic/ac97.h')
-rw-r--r--sys/dev/ic/ac97.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/ac97.h b/sys/dev/ic/ac97.h
index a84da43c469..3439aa64058 100644
--- a/sys/dev/ic/ac97.h
+++ b/sys/dev/ic/ac97.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ac97.h,v 1.21 2008/02/12 13:02:21 jakemsr Exp $ */
+/* $OpenBSD: ac97.h,v 1.22 2008/05/25 23:52:30 jakemsr Exp $ */
/*
* Copyright (c) 1999 Constantine Sapuntzakis
@@ -81,6 +81,7 @@ struct ac97_codec_if {
int ac97_attach(struct ac97_host_if *);
int ac97_set_rate(struct ac97_codec_if *, int, u_long *);
+void ac97_get_default_params(struct audio_params *);
#define AC97_REG_RESET 0x00
#define AC97_CAPS_MICIN 0x0001