summaryrefslogtreecommitdiff
path: root/sys/dev/isa/gus.c
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2008-04-21 00:32:44 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2008-04-21 00:32:44 +0000
commit36bf5b189175ea403450119f66c0fc6b0065200b (patch)
treeaaa8e60176bd1cd2a387e885e469287cf38c8497 /sys/dev/isa/gus.c
parente2c0d8670c0c4a94f1c1a1fce050bead469315cf (diff)
allow low level audio drivers to specify a default sample format,
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
Diffstat (limited to 'sys/dev/isa/gus.c')
-rw-r--r--sys/dev/isa/gus.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/isa/gus.c b/sys/dev/isa/gus.c
index 657e07c1286..3138299a830 100644
--- a/sys/dev/isa/gus.c
+++ b/sys/dev/isa/gus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gus.c,v 1.29 2006/03/04 12:42:23 miod Exp $ */
+/* $OpenBSD: gus.c,v 1.30 2008/04/21 00:32:42 jakemsr Exp $ */
/* $NetBSD: gus.c,v 1.51 1998/01/25 23:48:06 mycroft Exp $ */
/*-
@@ -304,6 +304,7 @@ struct audio_hw_if gus_hw_if = {
gus_get_props,
NULL,
+ NULL,
NULL
};
@@ -340,6 +341,10 @@ static struct audio_hw_if gusmax_hw_if = {
ad1848_round,
ad1848_mappage,
gusmax_get_props,
+
+ NULL,
+ NULL,
+ NULL
};
/*