summaryrefslogtreecommitdiff
path: root/sys/dev/pci/emuxki.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/emuxki.c')
-rw-r--r--sys/dev/pci/emuxki.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c
index 9013f6b72c6..3372c95990a 100644
--- a/sys/dev/pci/emuxki.c
+++ b/sys/dev/pci/emuxki.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emuxki.c,v 1.27 2008/04/21 00:32:43 jakemsr Exp $ */
+/* $OpenBSD: emuxki.c,v 1.28 2008/05/29 02:10:01 jakemsr Exp $ */
/* $NetBSD: emuxki.c,v 1.1 2001/10/17 18:39:41 jdolecek Exp $ */
/*-
@@ -173,6 +173,7 @@ int emuxki_query_encoding(void *, struct audio_encoding *);
int emuxki_set_params(void *, int, int,
struct audio_params *,
struct audio_params *);
+void emuxki_get_default_params(void *, int, struct audio_params *);
int emuxki_round_blocksize(void *, int);
size_t emuxki_round_buffersize(void *, int, size_t);
@@ -253,7 +254,7 @@ struct audio_hw_if emuxki_hw_if = {
emuxki_get_props,
emuxki_trigger_output,
emuxki_trigger_input,
- NULL
+ emuxki_get_default_params
};
#if 0
@@ -2226,6 +2227,12 @@ emuxki_set_params(void *addr, int setmode, int usemode,
return (0);
}
+void
+emuxki_get_default_params(void *addr, int mode, struct audio_params *params)
+{
+ ac97_get_default_params(params);
+}
+
int
emuxki_halt_output(void *addr)
{